aboutsummaryrefslogtreecommitdiff
path: root/include/xwayland
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-03-28 15:33:23 -0400
committeremersion <contact@emersion.fr>2018-03-28 15:33:23 -0400
commit2a34b154e683bb962aed354c1d980a7c10c66824 (patch)
tree8382ae43ef8acaa74544be610571e983d9c13fde /include/xwayland
parent73394deb761232ff6a5a12400fe9e9fc5ab51114 (diff)
xwayland: send DND_DROP
Diffstat (limited to 'include/xwayland')
-rw-r--r--include/xwayland/xwm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/xwayland/xwm.h b/include/xwayland/xwm.h
index d4795d3f..b6b26227 100644
--- a/include/xwayland/xwm.h
+++ b/include/xwayland/xwm.h
@@ -137,6 +137,7 @@ struct wlr_xwm {
struct wl_listener seat_start_drag;
struct wl_listener seat_drag_focus;
struct wl_listener seat_drag_motion;
+ struct wl_listener seat_drag_drop;
struct wl_listener seat_drag_destroy;
};
@@ -148,6 +149,8 @@ void xwm_set_cursor(struct wlr_xwm *xwm, const uint8_t *pixels, uint32_t stride,
uint32_t width, uint32_t height, int32_t hotspot_x, int32_t hotspot_y);
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) ;
void xwm_selection_init(struct wlr_xwm *xwm);
void xwm_selection_finish(struct wlr_xwm *xwm);