mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
rootston: only allow one drag icon per seat
This commit is contained in:
parent
d6de329d98
commit
faa00a4a33
4 changed files with 15 additions and 16 deletions
|
|
@ -151,9 +151,8 @@ static void roots_passthrough_cursor(struct roots_cursor *cursor,
|
|||
wlr_seat_pointer_clear_focus(seat->seat);
|
||||
}
|
||||
|
||||
struct roots_drag_icon *drag_icon;
|
||||
wl_list_for_each(drag_icon, &seat->drag_icons, link) {
|
||||
roots_drag_icon_update_position(drag_icon);
|
||||
if (seat->drag_icon != NULL) {
|
||||
roots_drag_icon_update_position(seat->drag_icon);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue