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
This commit is contained in:
parent
67cb571f86
commit
4fd554a2e2
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ inline xcb_get_input_focus_cookie_t get_input_focus(xcb_connection_t *c, xcb_win
|
||||||
class CurrentInput : public Wrapper<xcb_get_input_focus_reply_t, xcb_get_input_focus_cookie_t, &xcb_get_input_focus_reply, &get_input_focus>
|
class CurrentInput : public Wrapper<xcb_get_input_focus_reply_t, xcb_get_input_focus_cookie_t, &xcb_get_input_focus_reply, &get_input_focus>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CurrentInput() : Wrapper<xcb_get_input_focus_reply_t, xcb_get_input_focus_cookie_t, &xcb_get_input_focus_reply, &get_input_focus>() {}
|
CurrentInput() : Wrapper<xcb_get_input_focus_reply_t, xcb_get_input_focus_cookie_t, &xcb_get_input_focus_reply, &get_input_focus>(XCB_WINDOW_NONE) {}
|
||||||
|
|
||||||
inline xcb_window_t window() {
|
inline xcb_window_t window() {
|
||||||
if (isNull())
|
if (isNull())
|
||||||
|
|
Loading…
Reference in a new issue