mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-10-29 05:40:19 -04:00
removed focus_changed logic
This commit is contained in:
parent
0ba1c40aa6
commit
d1367b1c46
1 changed files with 1 additions and 4 deletions
5
seat.c
5
seat.c
|
|
@ -563,10 +563,7 @@ process_cursor_motion(struct cg_seat *seat, uint32_t time)
|
|||
} else {
|
||||
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 || wlr_seat->drag) {
|
||||
wlr_seat_pointer_notify_motion(wlr_seat, time, sx, sy);
|
||||
}
|
||||
wlr_seat_pointer_notify_motion(wlr_seat, time, sx, sy);
|
||||
}
|
||||
|
||||
struct cg_drag_icon *drag_icon;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue