mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-05 13:29:47 -05:00
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:
parent
252bcce2f3
commit
cf9debf82e
2 changed files with 12 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue