aboutsummaryrefslogtreecommitdiff
path: root/src/command.rs
diff options
context:
space:
mode:
authorMatias Linares <matiaslina@openmailbox.org>2015-12-27 23:17:00 -0300
committerMatias Linares <matiaslina@openmailbox.org>2015-12-27 23:17:00 -0300
commit312a8f2e5832c06fcd228acee4945b3236841ee1 (patch)
tree9603233b2d6a29d444befef45e7d0e98698f7015 /src/command.rs
parentad181f63bc252303d52dc413433890f14d21b915 (diff)
downloaddotwm-312a8f2e5832c06fcd228acee4945b3236841ee1.tar.gz
Better fullscreen handling.
Diffstat (limited to 'src/command.rs')
-rw-r--r--src/command.rs2
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
}