Check pointer focused surface instead of view at cursor

This commit is contained in:
emersion 2017-10-12 14:28:37 +02:00
parent 19860c03f7
commit 29abf93bb6
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 13 additions and 9 deletions

View file

@ -79,7 +79,7 @@ struct roots_input {
struct wlr_xcursor_theme *theme;
struct wlr_xcursor *xcursor;
struct wlr_seat *wl_seat;
struct roots_view *client_cursor_view;
struct wl_client *cursor_client;
enum roots_cursor_mode mode;
struct roots_view *active_view, *last_active_view;