From b4c957b617253307e3418e4358c2bab5595d9724 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 8 Aug 2013 13:24:06 +0200 Subject: [PATCH] Remove XCheckTypedEvent from TabBox::hide() No idea why it was there in the first place, but no longer useful in an XCB event world. --- tabbox/tabbox.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/tabbox/tabbox.cpp b/tabbox/tabbox.cpp index 6a682abe7a..2ac3d7eb9b 100644 --- a/tabbox/tabbox.cpp +++ b/tabbox/tabbox.cpp @@ -707,9 +707,6 @@ void TabBox::hide(bool abort) kDebug(1212) << "Tab box was not properly closed by an effect"; m_tabBox->hide(abort); Xcb::sync(); - XEvent otherEvent; - while (XCheckTypedEvent(display(), EnterNotify, &otherEvent)) - ; } void TabBox::reconfigure()