You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I open a window on sway (well, technically swayfx), keyd-application-mapper does not apply keybinds with a class expression (at least for pinentry-gtk2 and Librewolf) until I refocus the window. I don't know if this applies to all wlroots-based compositors. I believe this is because the window is focused before the mapper gets the class/app id, as I can see the following events happen if I apply show-wlroots-events.patch.gz:
A new window is opened
The new window has set its title to pinentry-gtk2
My terminal is unfocused
pinentry-gtk2 is focused (this is when the mapper resets keyd and applies window-specific bindings)
pinentry-gtk2 has set its app id/class to Pinentry-gtk-2
Here are the snippets for the output with the patch applied:
When I open a window on sway (well, technically swayfx), keyd-application-mapper does not apply keybinds with a class expression (at least for pinentry-gtk2 and Librewolf) until I refocus the window. I don't know if this applies to all wlroots-based compositors. I believe this is because the window is focused before the mapper gets the class/app id, as I can see the following events happen if I apply show-wlroots-events.patch.gz:
Here are the snippets for the output with the patch applied:
Opening pinentry-gtk2
Opening LibreWolf
The text was updated successfully, but these errors were encountered: