Comments by "Anony Mousse" (@anon_y_mousse) on "Begone Wayland, X12 Is My New Best Friend" video.
-
Press keys, the window manager accepts them and passes them along to the application with focus, if they're relevant. Press a global shortcut and the WM would handle it and send them nowhere else. No apps in focus, as in none open on a given desktop/workspace, then ignore them. No need for a keylogger being a security risk because it need not work if the OS properly segments input from what processes it. That's the solution, now whether anyone does it with what already exists or starts a new project is up to them, I guess. And if you're thinking about global shortcuts for common tasks, like ctrl+c to copy and ctrl+v to paste, message passing is the solution. A program sets up a message queue and gets input that way instead of needing to process keys directly itself, but that'd be more like how Windows works (or worked?, I haven't used it in 20 years and don't know if it still does). The GUI library could provide functionality like edit controls where keys could be requested directly.
2
-
2
-
1
-
1
-
1
-
1
-
1
-
1
-
1