From 8f94ee7d8fb38653e6f9ee38ace63adf7bfe8103 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 6 Aug 2013 10:26:45 +0200 Subject: [PATCH] Port away from QApplication::syncX() in TabBox --- tabbox/tabbox.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tabbox/tabbox.cpp b/tabbox/tabbox.cpp index ad4f524cbf..6a682abe7a 100644 --- a/tabbox/tabbox.cpp +++ b/tabbox/tabbox.cpp @@ -42,6 +42,7 @@ along with this program. If not, see . #include "unmanaged.h" #include "virtualdesktops.h" #include "workspace.h" +#include "xcbutils.h" // Qt #include #include @@ -705,7 +706,7 @@ void TabBox::hide(bool abort) if (isDisplayed()) kDebug(1212) << "Tab box was not properly closed by an effect"; m_tabBox->hide(abort); - QApplication::syncX(); + Xcb::sync(); XEvent otherEvent; while (XCheckTypedEvent(display(), EnterNotify, &otherEvent)) ;