diff options
Diffstat (limited to 'xwayland/xwm.h')
-rw-r--r-- | xwayland/xwm.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/xwayland/xwm.h b/xwayland/xwm.h index a7bfd623..47e674c0 100644 --- a/xwayland/xwm.h +++ b/xwayland/xwm.h @@ -36,6 +36,8 @@ enum atom_name { TARGETS, CLIPBOARD_MANAGER, INCR, + TEXT, + TIMESTAMP, ATOM_LAST, }; @@ -50,6 +52,7 @@ enum net_wm_state_action { struct wlr_xwm { struct wlr_xwayland *xwayland; struct wl_event_source *event_source; + struct wlr_seat *seat; xcb_atom_t atoms[ATOM_LAST]; xcb_connection_t *xcb_conn; @@ -70,6 +73,10 @@ struct wlr_xwm { int property_start; xcb_get_property_reply_t *property_reply; struct wl_event_source *property_source; + int flush_property_on_delete; + struct wl_array source_data; + xcb_atom_t selection_target; + bool selection_property_set; struct wlr_xwayland_surface *focus_surface; @@ -79,6 +86,7 @@ struct wlr_xwm { const xcb_query_extension_reply_t *xfixes; struct wl_listener compositor_surface_create; + struct wl_listener seat_selection_change; }; struct wlr_xwm *xwm_create(struct wlr_xwayland *wlr_xwayland); @@ -92,4 +100,6 @@ int xwm_handle_selection_event(struct wlr_xwm *xwm, xcb_generic_event_t *event); void xwm_selection_init(struct wlr_xwm *xwm); +void xwm_set_seat(struct wlr_xwm *xwm, struct wlr_seat *seat); + #endif |