aboutsummaryrefslogtreecommitdiff
path: root/include/xwayland
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-03-28 21:36:53 -0400
committeremersion <contact@emersion.fr>2018-03-28 21:36:53 -0400
commit6fd50947bda5c609bba0eea1fef5e27a5524dc38 (patch)
tree2568126a8a382973167a9343856bd9ce743e2d3f /include/xwayland
parent3effe153bce7c7819586b619d0d575e9238ad124 (diff)
xwayland: improve error handling
Diffstat (limited to 'include/xwayland')
-rw-r--r--include/xwayland/xwm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/xwayland/xwm.h b/include/xwayland/xwm.h
index b6b26227..b85b5bae 100644
--- a/include/xwayland/xwm.h
+++ b/include/xwayland/xwm.h
@@ -150,13 +150,14 @@ void xwm_set_cursor(struct wlr_xwm *xwm, const uint8_t *pixels, uint32_t stride,
int xwm_handle_selection_event(struct wlr_xwm *xwm, xcb_generic_event_t *event);
int xwm_handle_selection_client_message(struct wlr_xwm *xwm,
- xcb_client_message_event_t *ev) ;
+ xcb_client_message_event_t *ev);
void xwm_selection_init(struct wlr_xwm *xwm);
void xwm_selection_finish(struct wlr_xwm *xwm);
void xwm_set_seat(struct wlr_xwm *xwm, struct wlr_seat *seat);
+char *xwm_get_atom_name(struct wlr_xwm *xwm, xcb_atom_t atom);
bool xwm_atoms_contains(struct wlr_xwm *xwm, xcb_atom_t *atoms,
size_t num_atoms, enum atom_name needle);