improved focus follows mouse support with Alt-Tab

svn path=/trunk/kdebase/kwin/; revision=55750
This commit is contained in:
Matthias Ettrich 2000-07-08 11:57:38 +00:00
parent e4ba98a3b8
commit 4bec1c366d

View file

@ -273,15 +273,21 @@ void TabBox::paintContents()
} }
} }
void void TabBox::hide()
TabBox::hide()
{ {
delayedShowTimer.stop(); delayedShowTimer.stop();
QWidget::hide(); QWidget::hide();
QApplication::syncX();
XEvent otherEvent;
while (XCheckTypedEvent (qt_xdisplay(), EnterNotify, &otherEvent ) )
;
} }
void
TabBox::delayedShow() /*!
Rikkus: please document! (Matthias)
*/
void TabBox::delayedShow()
{ {
KConfig * c(KGlobal::config()); KConfig * c(KGlobal::config());
c->setGroup("TabBox"); c->setGroup("TabBox");