From 96628a698c92eb96bd8563d0de8e2969d9d23320 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Wed, 28 Jan 2015 23:41:43 +0100 Subject: [PATCH] use xcb_time_current_time as setinputfocus default BUG: 343430 REVIEW: 122298 FIXED-IN: 5.2.1 --- xcbutils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcbutils.h b/xcbutils.h index 8e1105bff6..4b4919bd6e 100644 --- a/xcbutils.h +++ b/xcbutils.h @@ -1241,7 +1241,7 @@ public: void clear(); void setBackgroundPixmap(xcb_pixmap_t pixmap); void defineCursor(xcb_cursor_t cursor); - void focus(uint8_t revertTo = XCB_INPUT_FOCUS_POINTER_ROOT, xcb_timestamp_t time = xTime()); + void focus(uint8_t revertTo = XCB_INPUT_FOCUS_POINTER_ROOT, xcb_timestamp_t time = XCB_TIME_CURRENT_TIME); void selectInput(uint32_t events); void kill(); operator xcb_window_t() const;