forge
Explore
Log in

Don't you dare go Hollow

Remove maximize and window menu capabilities

Browse files at this commit

4b8abcfba3e97d24828d027f73ebac0633e21fd9Ivan MolodetskikhParent: 085cd14
At least for now, niri doesn't implement those.
src/niri.rsmodified+1 -5
@@ -102,11 +102,7 @@ impl Niri {
102 let compositor_state = CompositorState::new::<Self>(&display_handle);102 let compositor_state = CompositorState::new::<Self>(&display_handle);
103 let xdg_shell_state = XdgShellState::new_with_capabilities::<Self>(103 let xdg_shell_state = XdgShellState::new_with_capabilities::<Self>(
104 &display_handle,104 &display_handle,
105- [105+ [WmCapabilities::Fullscreen],
106- WmCapabilities::Fullscreen,
107- WmCapabilities::Maximize,
108- WmCapabilities::WindowMenu,
109- ],
110 );106 );
111 let layer_shell_state = WlrLayerShellState::new::<Self>(&display_handle);107 let layer_shell_state = WlrLayerShellState::new::<Self>(&display_handle);
112 let shm_state = ShmState::new::<Self>(&display_handle, vec![]);108 let shm_state = ShmState::new::<Self>(&display_handle, vec![]);