revert commit#946749 as it causes way too many side effects including: widgets not getting focus (kickoff no longer puts focus on the line edit), popups not going away when clicking elsewhere ...

will need another fix for BR#179924
CCMAIL:aurelien.gateau@canonical.com
CCBUG:179924

svn path=/trunk/KDE/kdelibs/; revision=951366
This commit is contained in:
Aaron J. Seigo 2009-04-09 04:18:10 +00:00
parent b5c6c9c817
commit dd3aed2f3b

View File

@ -275,8 +275,7 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints)
//stuff out of your Dialog (extenders). Monitor WindowDeactivate events so we can
//emulate the same kind of behavior as Qt::Popup (close when you click somewhere
//else.
//Use Qt::Tool otherwise dialogs get shown over screensaver (bug #179924).
Qt::WindowFlags wflags = Qt::Tool | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint;
Qt::WindowFlags wflags = Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint;
if (passive) {
wflags |= Qt::X11BypassWindowManagerHint;