From 24541caf693a08439780f509abe3b9d5db578f5e Mon Sep 17 00:00:00 2001 From: Hendrik Iben Date: Fri, 23 Nov 2012 23:32:12 +0100 Subject: Fixed lost focus glitch on multihead-ws-warping --- src/FocusControl.cc | 6 ++++++ 1 file changed, 6 insertions(+) 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) { #ifdef XINERAMA int cur_head = focusSameHead() ? m_screen.getCurrHead() : (-1); + if(cur_head != -1) { + FluxboxWindow *fbwindow = focusedFbWindow(); + if(fbwindow && fbwindow->isMoving()) { + cur_head = -1; + } + } #endif // XINERAMA Focusables::iterator it = m_focused_list.clientList().begin(); -- cgit v0.11.2