aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Iben <mikro@zvxeb.de>2012-11-23 22:32:12 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2012-11-25 07:29:41 (GMT)
commit24541caf693a08439780f509abe3b9d5db578f5e (patch)
treecafe67a9459713b2b7ff87779fafd1e6e2e22c5a
parente65a966d807e6b9b961817a3b160af1d4a765e0d (diff)
downloadfluxbox-24541caf693a08439780f509abe3b9d5db578f5e.zip
fluxbox-24541caf693a08439780f509abe3b9d5db578f5e.tar.bz2
Fixed lost focus glitch on multihead-ws-warping
-rw-r--r--src/FocusControl.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc
index 2dbf289..f0d88b9 100644
--- a/src/FocusControl.cc
+++ b/src/FocusControl.cc
@@ -258,6 +258,12 @@ Focusable *FocusControl::lastFocusedWindow(int workspace) {
258 258
259#ifdef XINERAMA 259#ifdef XINERAMA
260 int cur_head = focusSameHead() ? m_screen.getCurrHead() : (-1); 260 int cur_head = focusSameHead() ? m_screen.getCurrHead() : (-1);
261 if(cur_head != -1) {
262 FluxboxWindow *fbwindow = focusedFbWindow();
263 if(fbwindow && fbwindow->isMoving()) {
264 cur_head = -1;
265 }
266 }
261#endif // XINERAMA 267#endif // XINERAMA
262 268
263 Focusables::iterator it = m_focused_list.clientList().begin(); 269 Focusables::iterator it = m_focused_list.clientList().begin();