summaryrefslogtreecommitdiff
path: root/src/FocusControl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FocusControl.cc')
-rw-r--r--src/FocusControl.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc
index b977d59..0893d68 100644
--- a/src/FocusControl.cc
+++ b/src/FocusControl.cc
@@ -189,7 +189,11 @@ void FocusControl::goToWindowNumber(const Focusables &winlist, int num,
189 } 189 }
190 } 190 }
191 } 191 }
192 if (last_matched) last_matched->focus(); 192 if (last_matched) {
193 last_matched->focus();
194 if (last_matched->fbwindow())
195 last_matched->fbwindow()->raise();
196 }
193} 197}
194 198
195void FocusControl::addFocusBack(WinClient &client) { 199void FocusControl::addFocusBack(WinClient &client) {