From cf9debf82e9b01b11b82c2a65426b909ac222340 Mon Sep 17 00:00:00 2001 From: Las Date: Mon, 6 Aug 2018 11:39:34 +0200 Subject: Make roots_cursor::pointer_view available even if there is a surface To find out whether there was a surface or not before a movement, the member roots_cursor::wlr_surface has been added. --- include/rootston/cursor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/rootston/cursor.h b/include/rootston/cursor.h index 2c687a39..52c72a44 100644 --- a/include/rootston/cursor.h +++ b/include/rootston/cursor.h @@ -28,6 +28,7 @@ struct roots_cursor { uint32_t resize_edges; struct roots_seat_view *pointer_view; + struct wlr_surface *wlr_surface; struct wl_listener motion; struct wl_listener motion_absolute; -- cgit v1.2.3