From 42e00b1c5b6f6f424ed9c84e81695ea5ab874a76 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 1 Sep 2002 21:14:26 +0000 Subject: [PATCH] sync with 2.0 branch (fix auto-rasie with gtk issue) --- src/Window.cc | 11 ++++++++--- 1 file 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(); + } } } -- 2.45.2