mirror of
https://github.com/swaywm/sway.git
synced 2026-05-03 06:46:26 -04:00
disable changing focus on click for tabbed layout
This commit is contained in:
parent
505e34b6ef
commit
63684cb2b0
1 changed files with 3 additions and 1 deletions
|
|
@ -222,7 +222,9 @@ void dispatch_cursor_button(struct sway_cursor *cursor,
|
||||||
seat_set_focus(cursor->seat, cont);
|
seat_set_focus(cursor->seat, cont);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
seat_set_focus(cursor->seat, cont);
|
if (cont && cont->parent->layout != L_TABBED) {
|
||||||
|
seat_set_focus(cursor->seat, cont);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
wlr_seat_pointer_notify_button(cursor->seat->wlr_seat,
|
wlr_seat_pointer_notify_button(cursor->seat->wlr_seat,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue