aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-11-26 16:30:18 +0100
committerSimon Ser <contact@emersion.fr>2020-12-13 12:16:52 +0100
commitc59aacf944658d81fb4834f9744186794bea9922 (patch)
tree65161b829c4ff746a4fbae7442887991e41dd1c3 /include/backend
parentd79a00bf020866905ab41f3a3d3b6db667ca11ba (diff)
backend/x11: query modifiers supported by X11 server
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/x11.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/backend/x11.h b/include/backend/x11.h
index 52f50781..b872385d 100644
--- a/include/backend/x11.h
+++ b/include/backend/x11.h
@@ -20,6 +20,7 @@
#include <wlr/interfaces/wlr_output.h>
#include <wlr/interfaces/wlr_pointer.h>
#include <wlr/interfaces/wlr_touch.h>
+#include <wlr/render/drm_format_set.h>
#include <wlr/render/egl.h>
#include <wlr/render/wlr_renderer.h>
@@ -82,6 +83,7 @@ struct wlr_x11_backend {
struct wlr_egl egl;
struct wlr_renderer *renderer;
+ struct wlr_drm_format_set dri3_formats;
const struct wlr_x11_format *x11_format;
struct wlr_drm_format *drm_format;
struct wlr_allocator *allocator;