From b83f63edf211343e93175aa8ba0607c04a2b35e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sun, 1 Jun 2014 17:20:01 +0200 Subject: [PATCH] [tabbox] Use XCB_CURRENT_TIME for xcb_allow_event BUG: 335187 --- tabbox/tabbox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tabbox/tabbox.cpp b/tabbox/tabbox.cpp index 7b659ffc4b..688ebd9a84 100644 --- a/tabbox/tabbox.cpp +++ b/tabbox/tabbox.cpp @@ -851,7 +851,7 @@ void TabBox::delayedShow() bool TabBox::handleMouseEvent(xcb_button_press_event_t *e) { - xcb_allow_events(connection(), XCB_ALLOW_ASYNC_POINTER, xTime()); + xcb_allow_events(connection(), XCB_ALLOW_ASYNC_POINTER, XCB_CURRENT_TIME); if (!m_isShown && isDisplayed()) { // tabbox has been replaced, check effects if (effects && static_cast(effects)->checkInputWindowEvent(e)) @@ -881,7 +881,7 @@ bool TabBox::handleMouseEvent(xcb_button_press_event_t *e) bool TabBox::handleMouseEvent(xcb_motion_notify_event_t *e) { - xcb_allow_events(connection(), XCB_ALLOW_ASYNC_POINTER, xTime()); + xcb_allow_events(connection(), XCB_ALLOW_ASYNC_POINTER, XCB_CURRENT_TIME); if (!m_isShown && isDisplayed()) { // tabbox has been replaced, check effects if (effects && static_cast(effects)->checkInputWindowEvent(e))