diff options
author | Quentin Glidic <sardemff7+git@sardemff7.net> | 2017-03-21 20:44:00 +0100 |
---|---|---|
committer | Quentin Glidic <sardemff7+git@sardemff7.net> | 2017-03-21 21:34:03 +0100 |
commit | 42f37382746358cd3c0e33b04182f1d2b8f34c93 (patch) | |
tree | e82b73e5f80cb54941201861024389d5668255dc /source | |
parent | af4de73c3d0a96397d0cd1dba31da22410d3af09 (diff) |
xcb: Flush after init
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'source')
-rw-r--r-- | source/xcb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/xcb.c b/source/xcb.c index cd1321b0..923af444 100644 --- a/source/xcb.c +++ b/source/xcb.c @@ -423,6 +423,7 @@ gboolean display_init(GMainLoop *main_loop, const gchar *display) x11_create_frequently_used_atoms(); x11_create_visual_and_colormap(); + xcb_flush(xcb->connection); xcb_grab_keyboard ( xcb->connection, 1, xcb->screen->root, XCB_CURRENT_TIME, XCB_GRAB_MODE_ASYNC, XCB_GRAB_MODE_ASYNC ); xcb_grab_pointer ( xcb->connection, 1, xcb->screen->root, XCB_EVENT_MASK_BUTTON_RELEASE, XCB_GRAB_MODE_ASYNC, XCB_GRAB_MODE_ASYNC, xcb->screen->root, XCB_NONE, XCB_CURRENT_TIME ); |