mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-10-29 05:40:19 -04:00
fix drag
This commit is contained in:
parent
60492959a7
commit
0ba1c40aa6
1 changed files with 1 additions and 1 deletions
2
seat.c
2
seat.c
|
|
@ -564,7 +564,7 @@ process_cursor_motion(struct cg_seat *seat, uint32_t time)
|
|||
wlr_seat_pointer_notify_enter(wlr_seat, surface, sx, sy);
|
||||
|
||||
bool focus_changed = wlr_seat->pointer_state.focused_surface != surface;
|
||||
if (!focus_changed && time > 0) {
|
||||
if (!focus_changed && time > 0 || wlr_seat->drag) {
|
||||
wlr_seat_pointer_notify_motion(wlr_seat, time, sx, sy);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue