wayfire icon indicating copy to clipboard operation
wayfire copied to clipboard

Pass modifiers when clicking unfocused windows.

Open Vladimir-csp opened this issue 3 years ago • 3 comments

Describe the bug Seems to be related to #891. And it works in sway.

To Reproduce

  • open two terminal emulator windows (I use sakura)
  • run mcedit in window 1
  • focus window 2 and select some text in it
  • shift+middleclick in window 1 (unfocused, mcedit requires holding shift to paste text on middle click)

Expected behavior Selected text is pasted into mcedit.

Actual behavior Nothing happens.

Wayfire version wayfire/testing,unstable,now 0.7.4-2 amd64 (Debian package)

Vladimir-csp avatar Aug 31 '22 19:08 Vladimir-csp

I am pretty sure that this works in Sway because it has focus-follow-mouse. In wayland, a window which does not have keyboard focus does not have any access to the keyboard modifiers, so thus the terminal doesn't see that you have shift pressed.

ammen99 avatar Apr 16 '24 14:04 ammen99

I have focus-follow-mouse disabled in sway, it still works.

Vladimir-csp avatar Apr 16 '24 20:04 Vladimir-csp

Ok, that's weird. I'll have to look at it again then.

ammen99 avatar Apr 16 '24 20:04 ammen99