backend/x11: implement get_drm_fd

This commit is contained in:
Simon Ser 2020-12-19 15:46:14 +01:00
parent b7c95d483a
commit 6dfc8ce00b
2 changed files with 17 additions and 2 deletions

View file

@ -76,6 +76,7 @@ struct wlr_x11_backend {
struct wlr_keyboard keyboard;
struct wlr_input_device keyboard_dev;
int drm_fd;
struct wlr_renderer *renderer;
struct wlr_drm_format_set dri3_formats;
const struct wlr_x11_format *x11_format;