xwm: create colormap and visual depth detection

This commit is contained in:
Tony Crisci 2017-10-27 15:20:50 -04:00
parent be297d9d14
commit 325def3841
3 changed files with 47 additions and 4 deletions

View file

@ -47,6 +47,8 @@ struct wlr_xwm {
xcb_connection_t *xcb_conn;
xcb_screen_t *screen;
xcb_window_t window;
xcb_visualid_t visual_id;
xcb_colormap_t colormap;
struct wlr_xwayland_surface *focus_surface;