summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-09-01 21:14:26 +0000
committerDana Jansens <danakj@orodu.net>2002-09-01 21:14:26 +0000
commit42e00b1c5b6f6f424ed9c84e81695ea5ab874a76 (patch)
tree14d09080b857722295375fbf10ba381c994318fb
parent01db552d23569a5f09d27ff989cc8720efe6a062 (diff)
sync with 2.0 branch (fix auto-rasie with gtk issue)
-rw-r--r--src/Window.cc11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 72643c2d..701482d0 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -3859,10 +3859,15 @@ void BlackboxWindow::enterNotifyEvent(const XCrossingEvent* ce) {
bool success = setInputFocus();
if (success) // if focus succeeded install the colormap
installColormap(True); // XXX: shouldnt we honour no install?
- }
- if (screen->doAutoRaise())
- timer->start();
+ /*
+ 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();
+ }
}
}