Fixed lost focus glitch on multihead-ws-warping

This commit is contained in:
Hendrik Iben 2012-11-23 23:32:12 +01:00 committed by Mathias Gumz
parent e65a966d80
commit 24541caf69

View file

@ -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();