main: verify compositor has WL_SHM_FORMAT_ARGB8888

This commit is contained in:
Daniel Eklöf 2019-07-08 16:12:02 +02:00
parent 1e2a7e77f0
commit 729974492d
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 9 additions and 1 deletions

View file

@ -34,6 +34,7 @@ struct wayland {
struct xdg_wm_base *shell;
struct xdg_surface *xdg_surface;
struct xdg_toplevel *xdg_toplevel;
bool have_argb8888;
};
struct rgb { double r, g, b; } __attribute__((packed));