diff options
Diffstat (limited to 'src/command.rs')
-rw-r--r-- | src/command.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.rs b/src/command.rs index 8f7218e..21760a8 100644 --- a/src/command.rs +++ b/src/command.rs @@ -73,7 +73,7 @@ pub fn fullscreen(wm: &mut DotWM, _: xlib::XEvent, _: &[String]) -> bool { let fs_atom = wm.netatoms[&NetAtom::NetFullscreen]; if let Some(win) = wm.current_window_mut() { - win.toggle_fullscreen(wmstate, fs_atom, true); + win.fullscreen(wmstate, fs_atom); }; true } |