Fixed lost focus glitch on multihead-ws-warping
This commit is contained in:
parent
e65a966d80
commit
24541caf69
1 changed files with 6 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue