summaryrefslogtreecommitdiff
path: root/wayland
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-12-06 17:33:11 -0500
committerKristian Høgsberg <krh@bitplanet.net>2010-12-06 17:33:11 -0500
commit3d76e652c54007d29a5b1c3f31ec1da2326499b8 (patch)
treeb09378e08b398a5865582412e97fb1c72ed363f6 /wayland
parentab8475cafd730fb5b762dd3bcf9b7ae5d7a0f9ba (diff)
Use the per-surface destroy callback for grabs as well
Diffstat (limited to 'wayland')
-rw-r--r--wayland/wayland-server.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/wayland/wayland-server.h b/wayland/wayland-server.h
index 6f4b2ce..2b07261 100644
--- a/wayland/wayland-server.h
+++ b/wayland/wayland-server.h
@@ -158,13 +158,14 @@ struct wl_drag {
struct wl_resource resource;
struct wl_drag_offer drag_offer;
struct wl_surface *source;
- struct wl_surface *pointer_focus;
+ struct wl_surface *drag_focus;
struct wl_client *target;
int32_t x, y, sx, sy;
struct wl_input_device *input_device;
struct wl_array types;
const char *type;
uint32_t pointer_focus_time;
+ struct wl_listener drag_focus_listener;
};
void