Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag and Drop get broken after using swapped mouse buttons #7146

Open
LokiNaBoki opened this issue Aug 23, 2022 · 0 comments
Open

Drag and Drop get broken after using swapped mouse buttons #7146

LokiNaBoki opened this issue Aug 23, 2022 · 0 comments
Labels
bug Not working as intended

Comments

@LokiNaBoki
Copy link

Please fill out the following:

  • Sway Version:
    sway version 1.7

  • Debug Log:

  • Configuration File:

    set $mod Mod4
    set $MOUSE 1133:16495:Logitech_MX_Ergo
    
    floating_modifier $mod
    
    bindsym --input-device=$MOUSE --whole-window button8 seat - cursor press button9
    bindsym --input-device=$MOUSE --whole-window --release button8 seat - cursor release button9
    
    bindsym --input-device=$MOUSE --whole-window button9 seat - cursor press button8
    bindsym --input-device=$MOUSE --whole-window --release button9 seat - cursor release button8
    
    bindsym $mod+t exec kitty
    bindsym $mod+f exec firefox
    bindsym $mod+v exec vivaldi-stable
    bindsym $mod+n exec nautilus
    
    exec "systemctl --user import-environment NO_AT_BRIDGE PULSE_COOKIE SWAYSOCK WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XDG_SESSION_TYPE"
    
  • Description:
    The problem is that if I use swapped mouse buttons (swapped forward and backward) then any drag and drop in Wayland is broken. It's still working in XWayland windows. It's broken in all the windows both already open and new ones. Closing the windows or reloading sway doesn't fix the issue. Using forward and backward buttons without swapping them doesn't break DnD.

  • Recording:

recording.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not working as intended
Development

No branches or pull requests

1 participant