mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
cursor.c: Keep sending adjusted motion events while button is pressed
This allows to keep dragging a scrollbar or selecting text even when moving outside of the window. Fixes #241
This commit is contained in:
parent
067b0e8798
commit
befe66d93f
4 changed files with 34 additions and 0 deletions
|
|
@ -99,6 +99,9 @@ handle_destroy(struct wl_listener *listener, void *data)
|
|||
wlr_foreign_toplevel_handle_v1_destroy(view->toplevel_handle);
|
||||
}
|
||||
interactive_end(view);
|
||||
if (view->server->seat.active_view == view) {
|
||||
view->server->seat.active_view = NULL;
|
||||
}
|
||||
view->xwayland_surface = NULL;
|
||||
wl_list_remove(&view->link);
|
||||
wl_list_remove(&view->map.link);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue