aboutsummaryrefslogtreecommitdiff
path: root/backend/x11/output.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-15 11:11:00 +0200
committerGitHub <noreply@github.com>2018-04-15 11:11:00 +0200
commit1db8667ceaef0e73b0937c277ad16268429ff4c5 (patch)
tree020a27e79253fc18d03738d53b3abdbfb4d06cb5 /backend/x11/output.c
parent63763d327969a17af43ccaf8fe4c6da941f8efcb (diff)
parente79d924588523732d13b582a46962246c8a9670d (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.c5
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 |