sway icon indicating copy to clipboard operation
sway copied to clipboard

Workspace switching by mouse scroll persists despite configuration in Sway

Open yellow-footed-honeyguide opened this issue 1 year ago • 1 comments

Guys, in my case switching between workspaces by scrolling persists despite configuration changes.

Environment

Sway version: 1.9 Waybar version: 0.10.4 Linux kernel: 6.9.12-200.fc40.x86_64 Mouse: Bluetooth Logitech MX Master 3S

My steps

~/.config/sway/config

bar {
      swaybar_command waybar
      bindsym button4 nop 
      bindsym button5 nop 
      bindsym button6 nop 
      bindsym button7 nop 
}

Executed swaymsg reload Attempted to scroll wheel in workspace area

Expected Behavior and Actual Behavior

Mouse scrolling should not switch workspaces. Scrolling the mouse wheel causes switching between workspaces.

button[1-9] (as referred to in the bindsym section of man 5 sway) doesn't seem to work at all. And there's no alternative, since there's no libinput event name for scrolling x/y.

This specifically makes use cases like moving windows around with the mouse, without the need to click and drag, impossible.

hugeblank avatar Nov 06 '25 11:11 hugeblank