aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/backend/x11.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/backend/x11.h b/include/backend/x11.h
index c46c944f..a22005a2 100644
--- a/include/backend/x11.h
+++ b/include/backend/x11.h
@@ -19,8 +19,14 @@ struct wlr_x11_output {
EGLSurface surf;
};
+struct wlr_x11_atom {
+ xcb_intern_atom_cookie_t cookie;
+ xcb_intern_atom_reply_t *reply;
+};
+
struct wlr_x11_backend {
struct wlr_backend backend;
+ struct wl_display *wl_display;
Display *xlib_conn;
xcb_connection_t *xcb_conn;
@@ -37,6 +43,11 @@ struct wlr_x11_backend {
struct wlr_egl egl;
struct wl_event_source *event_source;
struct wl_event_source *frame_timer;
+
+ struct {
+ struct wlr_x11_atom wm_protocols;
+ struct wlr_x11_atom wm_delete_window;
+ } atoms;
};
#endif