mirror of
https://github.com/swaywm/sway.git
synced 2026-04-27 06:46:25 -04:00
seatop_default: do not apply scroll_factor for switching windows in tabbed layout
This commit is contained in:
parent
1a253ca7ab
commit
7f75741aa5
1 changed files with 1 additions and 1 deletions
|
|
@ -546,7 +546,7 @@ static void handle_axis(struct sway_seat *seat,
|
|||
seat_get_active_tiling_child(seat, tabcontainer);
|
||||
list_t *siblings = container_get_siblings(cont);
|
||||
int desired = list_find(siblings, active->sway_container) +
|
||||
round(scroll_factor * event->delta_discrete);
|
||||
event->delta_discrete;
|
||||
if (desired < 0) {
|
||||
desired = 0;
|
||||
} else if (desired >= siblings->length) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue