Fetch xcb_render_pictformat_t at startup

This commit is contained in:
emersion 2017-11-02 16:59:57 +01:00
parent 3f4ad47421
commit bb76f52640
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 35 additions and 23 deletions

View file

@ -1,5 +1,7 @@
#ifndef XWAYLAND_INTERNALS_H
#define XWAYLAND_INTERNALS_H
#include <xcb/render.h>
#include <wayland-server-core.h>
#include <wlr/xwayland.h>
@ -49,6 +51,7 @@ struct wlr_xwm {
xcb_window_t window;
xcb_visualid_t visual_id;
xcb_colormap_t colormap;
xcb_render_pictformat_t render_format_id;
xcb_cursor_t cursor;
struct wlr_xwayland_surface *focus_surface;