From 4fd554a2e22aa2c7a6d5cf208a96c987d63d86c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Sun, 8 Sep 2013 22:56:27 +0200 Subject: [PATCH] fix xcb CurrentInput implementation broke on interim Wrapper() constructor change The Constructor needs to explicitly pass XCB_WINDOW_NONE to the inherited Constructor to trigger a request Thanks to Alex Leach for finding this CCBUG: 256242 FIXED-IN: 4.11.2 REVIEW: 112595 --- xcbutils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xcbutils.h b/xcbutils.h index 1a4befd751..fca15f849d 100644 --- a/xcbutils.h +++ b/xcbutils.h @@ -197,7 +197,7 @@ inline xcb_get_input_focus_cookie_t get_input_focus(xcb_connection_t *c, xcb_win class CurrentInput : public Wrapper { public: - CurrentInput() : Wrapper() {} + CurrentInput() : Wrapper(XCB_WINDOW_NONE) {} inline xcb_window_t window() { if (isNull())