Use surface destroy notifier for cancelling grabs

This commit is contained in:
Kristian Høgsberg 2010-12-06 21:32:15 -05:00
parent 3d76e652c5
commit a9e8961ea2
2 changed files with 28 additions and 8 deletions

View file

@ -99,8 +99,7 @@ struct wlsc_input_device {
int32_t grab_dx, grab_dy;
uint32_t grab_button;
struct wl_drag *drag;
struct wl_listener listener;
struct wl_listener grab_listener;
};
struct wlsc_drm {