mirror of
https://github.com/swaywm/sway.git
synced 2026-04-24 06:46:22 -04:00
Fix #6297
This makes it so that `seat hide_cursor` no longer clears cursor focus when hidding. Clearing focus casuses problems whenever keyboard and mouse are to be used in conjunction.
This commit is contained in:
parent
96102184ab
commit
b21dc487ac
1 changed files with 0 additions and 1 deletions
|
|
@ -236,7 +236,6 @@ void cursor_update_image(struct sway_cursor *cursor,
|
||||||
static void cursor_hide(struct sway_cursor *cursor) {
|
static void cursor_hide(struct sway_cursor *cursor) {
|
||||||
wlr_cursor_set_image(cursor->cursor, NULL, 0, 0, 0, 0, 0, 0);
|
wlr_cursor_set_image(cursor->cursor, NULL, 0, 0, 0, 0, 0, 0);
|
||||||
cursor->hidden = true;
|
cursor->hidden = true;
|
||||||
wlr_seat_pointer_notify_clear_focus(cursor->seat->wlr_seat);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int hide_notify(void *data) {
|
static int hide_notify(void *data) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue