diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/FocusControl.cc | 6 |
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(); |