Skip to content

Touchpad horizontal view movement (three-finger swiping left/right) doesn't respect warp-mouse-to-focus #1291

@yrkv

Description

@yrkv

I have warp-mouse-to-focus set in the input section of my configuration, but using touchpad gestures to move within the workspace (horizontal view movement) frequently results in a different window being focused than the one under the mouse after swipe gestures, which doesn't happen for binding-based focus changing. I believe it should apply, as in all other ways, touchpad gestures behave equivalent to moving the focus via binds or niri msg action.

This is inconvenient for my usage as when it occurs it makes scrolling and typing go to two different windows after touchpad gestures. This would not happen with other ways of changing which window is focused.

My expected behavior is for warp-mouse-to-focus to cause the mouse to warp to the newly focused window upon the completion of a touchpad left/right swipe gesture.

System Information

System information shouldn't matter for this, it's a behavior thing.

  • niri version: niri 25.02 (0a4cc29-modified)
    (my local changes do not affect any part of this behavior)
  • Distro: archlinux
  • GPU: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]
  • CPU: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions