aboutsummaryrefslogtreecommitdiff
path: root/src/desktop.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/desktop.rs
parentad181f63bc252303d52dc413433890f14d21b915 (diff)
downloaddotwm-312a8f2e5832c06fcd228acee4945b3236841ee1.tar.gz
Better fullscreen handling.
Diffstat (limited to 'src/desktop.rs')
-rw-r--r--src/desktop.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/desktop.rs b/src/desktop.rs
index 7d2a8a5..520c196 100644
--- a/src/desktop.rs
+++ b/src/desktop.rs
@@ -72,6 +72,8 @@ impl Desktop {
}
}
+ /// Changes the focus from the current window to the window on the idx
+ /// postition on the window_list.
pub fn change_focus_of(&mut self, idx: usize) {
let w = &self.window_list[idx];
self.unfocus_current_window();