diff options
author | Keith Packard <keithp@keithp.com> | 2013-01-18 17:06:18 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-01-18 17:06:18 -0800 |
commit | cd8a9edcd04033941baedc66003dda4e58a80493 (patch) | |
tree | 6433b87324c41dc291b07ada4cf16bdbee649fa6 | |
parent | 7543c6e258195833daa5f17efdc095ad25489db9 (diff) |
Set window background to white
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | shmfd.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -123,8 +123,9 @@ main (int argc, char **argv) else server_addr = NULL; - window_mask = XCB_CW_EVENT_MASK; - window_values[0] = XCB_EVENT_MASK_EXPOSURE; + window_mask = XCB_CW_BACK_PIXEL|XCB_CW_EVENT_MASK; + window_values[0] = 0xffffff; + window_values[1] = XCB_EVENT_MASK_EXPOSURE; xcb_create_window(c, 0, /* depth */ |