diff options
author | Matias Linares <matiaslina@openmailbox.org> | 2015-12-27 23:17:00 -0300 |
---|---|---|
committer | Matias Linares <matiaslina@openmailbox.org> | 2015-12-27 23:17:00 -0300 |
commit | 312a8f2e5832c06fcd228acee4945b3236841ee1 (patch) | |
tree | 9603233b2d6a29d444befef45e7d0e98698f7015 /src/command.rs | |
parent | ad181f63bc252303d52dc413433890f14d21b915 (diff) | |
download | dotwm-312a8f2e5832c06fcd228acee4945b3236841ee1.tar.gz |
Better fullscreen handling.
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 } |