Pass modifiers when clicking unfocused windows.
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
mceditin 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)
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.
I have focus-follow-mouse disabled in sway, it still works.
Ok, that's weird. I'll have to look at it again then.