From 312a8f2e5832c06fcd228acee4945b3236841ee1 Mon Sep 17 00:00:00 2001 From: Matias Linares Date: Sun, 27 Dec 2015 23:17:00 -0300 Subject: Better fullscreen handling. --- src/desktop.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/desktop.rs') 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(); -- cgit v1.2.3-70-g09d2