aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2018-03-06 19:57:39 +1300
committerScott Anderson <ascent12@hotmail.com>2018-03-06 21:15:47 +1300
commit902d6cc240c5ecb5a19cf67173b968bfed34c565 (patch)
treeec40969502748a0ae39e32b574c5053ab1b39a52 /include
parentc986cc24a9bd6f09acb99c1ae4f3b95dc7c560c5 (diff)
Use xcb atoms properly
Diffstat (limited to 'include')
-rw-r--r--include/backend/x11.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/include/backend/x11.h b/include/backend/x11.h
index 9e1c8146..840509bf 100644
--- a/include/backend/x11.h
+++ b/include/backend/x11.h
@@ -17,11 +17,6 @@ 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;
@@ -44,10 +39,10 @@ struct wlr_x11_backend {
struct wl_event_source *frame_timer;
struct {
- struct wlr_x11_atom wm_protocols;
- struct wlr_x11_atom wm_delete_window;
- struct wlr_x11_atom net_wm_name;
- struct wlr_x11_atom utf8_string;
+ xcb_atom_t wm_protocols;
+ xcb_atom_t wm_delete_window;
+ xcb_atom_t net_wm_name;
+ xcb_atom_t utf8_string;
} atoms;
// The time we last received an event