Commit Graph

19 Commits

Author SHA1 Message Date
dec05eba
9a5c20836a Try and support different keyboard layouts through x11 xkb mapping 2025-01-07 01:15:56 +01:00
dec05eba
fa5b7a0c75 Only grab left alt, to allow altgr+z to be used for keyboard that type ż with it 2025-01-05 03:22:38 +01:00
dec05eba
52ce22ae22 Add option to only grab virtual devices, to support input remapping software 2025-01-04 05:39:16 +01:00
dec05eba
5b7b8f8f8c Global hotkeys: fix incorrect free 2024-12-28 22:35:55 +01:00
dec05eba
c213b5de89 Add option to manage program startup directly in the program 2024-12-28 22:30:30 +01:00
dec05eba
81e2fab47f Global hotkeys: only grab devices after all keys have been released 2024-12-28 09:30:11 +01:00
dec05eba
62fe500637 Virtual keyboard: set EV_SYN and EV_MSC event bits 2024-12-26 15:28:52 +01:00
dec05eba
e5b745d696 Mention that recording has to be restarted to apply changes. Fix stuck in repeat state if pressed while gsr-global-hotkey starts 2024-12-26 15:22:57 +01:00
dec05eba
ec6d4090af More key grab fixes, ignore mice/js/wheel 2024-12-17 22:52:54 +01:00
dec05eba
9ab0e457ab Fix mouse getting grabbed, not allowing mouse movement 2024-12-17 21:05:19 +01:00
dec05eba
423e710809 Dont forward repeat/release keys to focused window for global hotkeys 2024-12-16 22:07:33 +01:00
dec05eba
014f90cbff Ungrab before closing event fd 2024-12-16 21:51:09 +01:00
dec05eba
14b0d376a8 Prevent focused application from receiving global hotkey keys on wayland as well (massive hack) 2024-12-16 21:48:35 +01:00
dec05eba
eb3660a4d8 Add fstack-protector-all to gsr-global-hotkeys 2024-12-16 02:31:45 +01:00
dec05eba
ebd8c2726b Rewrite linux global hotkey to not depend on any libraries (also allows it to work on non-systemd systems(?)), remove unused gsr-window-name 2024-12-16 02:21:38 +01:00
dec05eba
ef7eb26ea5 Fix global hotkeys not working when connecting input after startup 2024-11-25 18:16:21 +01:00
dec05eba
9467abb0a2 Fix freeze on shutdown: change uid to user after getting seat permission 2024-11-25 02:55:25 +01:00
dec05eba
7d19afc0ab cap_sys_admin->cap_setuid for gsr-global-hotkeys 2024-11-24 23:49:24 +01:00
dec05eba
734280f304 Use linux /dev/input for global hotkeys instead of x11. This also works on wayland on any compositor 2024-11-24 18:33:57 +01:00