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.
This commit is contained in:
Las 2018-08-06 11:39:34 +02:00
parent 252bcce2f3
commit cf9debf82e
2 changed files with 12 additions and 5 deletions

View file

@ -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;