From 2390024f69f82ba074a2292e22cb2b431ca6ec39 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 9a03134cf6..465cb0e770 100644 --- a/xcbutils.h +++ b/xcbutils.h @@ -1089,7 +1089,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;