sync with 2.0 branch (fix auto-rasie with gtk issue)
Dana Jansens danakj@orodu.net
1 files changed,
8 insertions(+),
3 deletions(-)
jump to
M
src/Window.cc
→
src/Window.cc
@@ -3859,10 +3859,15 @@ if (! isFocused()) {
bool success = setInputFocus(); if (success) // if focus succeeded install the colormap 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()) + timer->start(); } - - if (screen->doAutoRaise()) - timer->start(); } }