diff options
author | emersion <contact@emersion.fr> | 2018-04-15 11:11:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-15 11:11:00 +0200 |
commit | 1db8667ceaef0e73b0937c277ad16268429ff4c5 (patch) | |
tree | 020a27e79253fc18d03738d53b3abdbfb4d06cb5 /backend/x11/output.c | |
parent | 63763d327969a17af43ccaf8fe4c6da941f8efcb (diff) | |
parent | e79d924588523732d13b582a46962246c8a9670d (diff) |
Merge pull request #869 from psychon/x11-cleanups
Some changes to the x11 backend
Diffstat (limited to 'backend/x11/output.c')
-rw-r--r-- | backend/x11/output.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/backend/x11/output.c b/backend/x11/output.c index ff625fbe..df4ff043 100644 --- a/backend/x11/output.c +++ b/backend/x11/output.c @@ -114,9 +114,8 @@ struct wlr_output *wlr_x11_output_create(struct wlr_backend *backend) { wl_list_length(&x11->outputs) + 1); parse_xcb_setup(wlr_output, x11->xcb_conn); - uint32_t mask = XCB_CW_BACK_PIXEL | XCB_CW_EVENT_MASK; - uint32_t values[2] = { - x11->screen->white_pixel, + uint32_t mask = XCB_CW_EVENT_MASK; + uint32_t values[] = { XCB_EVENT_MASK_EXPOSURE | XCB_EVENT_MASK_KEY_PRESS | XCB_EVENT_MASK_KEY_RELEASE | XCB_EVENT_MASK_BUTTON_PRESS | XCB_EVENT_MASK_BUTTON_RELEASE | |