sync with 2.0 branch (fix auto-rasie with gtk issue)
This commit is contained in:
parent
01db552d23
commit
42e00b1c5b
1 changed files with 8 additions and 3 deletions
|
@ -3859,11 +3859,16 @@ void BlackboxWindow::enterNotifyEvent(const XCrossingEvent* ce) {
|
||||||
bool success = setInputFocus();
|
bool success = setInputFocus();
|
||||||
if (success) // if focus succeeded install the colormap
|
if (success) // if focus succeeded install the colormap
|
||||||
installColormap(True); // XXX: shouldnt we honour no install?
|
installColormap(True); // XXX: shouldnt we honour no install?
|
||||||
}
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
We only auto-raise when the window wasn't focused because otherwise
|
||||||
|
we run into problems with gtk+ drop-down lists. The window ends up
|
||||||
|
raising over the list.
|
||||||
|
*/
|
||||||
if (screen->doAutoRaise())
|
if (screen->doAutoRaise())
|
||||||
timer->start();
|
timer->start();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue