mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
drag: clear keyboard focus on start
This commit is contained in:
parent
a93b18dbd5
commit
bb0fc63124
1 changed files with 1 additions and 0 deletions
|
|
@ -492,6 +492,7 @@ void wlr_seat_start_drag(struct wlr_seat *seat, struct wlr_drag *drag,
|
|||
assert(!drag->started);
|
||||
drag->started = true;
|
||||
|
||||
wlr_seat_keyboard_clear_focus(seat);
|
||||
wlr_seat_keyboard_start_grab(seat, &drag->keyboard_grab);
|
||||
|
||||
seat->drag = drag;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue