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()