aboutsummaryrefslogtreecommitdiff
path: root/include/rootston
diff options
context:
space:
mode:
authorLas <las@protonmail.ch>2018-08-06 11:39:34 +0200
committerLas <las@protonmail.ch>2018-09-18 10:14:33 +0200
commitcf9debf82e9b01b11b82c2a65426b909ac222340 (patch)
treea623fe422cf346fa18392b3f991e610c8e27fc03 /include/rootston
parent252bcce2f373bc5f0e29a4820ce23373b836e3bb (diff)
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.
Diffstat (limited to 'include/rootston')
-rw-r--r--include/rootston/cursor.h1
1 files changed, 1 insertions, 0 deletions
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;