Commit Graph

166 Commits

Author SHA1 Message Date
dec05eba
4b506e865a Make systemctl work in flatpak 2024-12-29 16:00:52 +01:00
dec05eba
78f44a9486 Detect multiple instances of gsr-ui by detecting virtual keyboard presence instead. This works in flatpak 2024-12-29 15:31:28 +01:00
dec05eba
b96b877a1a Only allow one instance of gsr-ui to run 2024-12-29 15:21:38 +01:00
dec05eba
c5c79bec64 Better debug test 2024-12-29 14:42:45 +01:00
dec05eba
050e8773cc Add option to launch the program and show the UI immediately, with 'gsr-ui launch-show' 2024-12-29 14:29:03 +01:00
dec05eba
3c3e165eb7 Mention that the program can only be started on system startup in settings on systemd. Have to launch it manually on other systems 2024-12-28 22:46:42 +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
49584e3dfc Improve rendering quality (alpha blending) 2024-12-27 21:04:28 +01:00
dec05eba
d07e50677a Save button should also go back to previous page 2024-12-26 16:53:00 +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
970d87975b Fix focused and portal capture options not allowed 2024-12-14 19:59:27 +01:00
dec05eba
fed42ee511 Fix regression in ui event handling in scrollable page 2024-12-14 17:53:30 +01:00
dec05eba
846d3c4e81 Fix mouse events received for scrollablepage child widgets when mouse is outside scrollablepage area 2024-12-14 12:12:00 +01:00
dec05eba
3bd4572631 Clearify font licensing 2024-12-14 03:37:16 +01:00
dec05eba
4c83972a4f Timeout window creation position hack, force floating, disable 'all monitors' record option for now 2024-12-10 19:42:01 +01:00
dec05eba
0b9858f28f Fix capture options not available on nvidia x11 2024-12-10 01:13:19 +01:00
dec05eba
6be9dee868 Fix freeze on startup on hyprland because of hack workaround, requires window to be visible. Remove titlebar on hyprland 2024-12-09 17:23:45 +01:00
dec05eba
f386615937 Start on global settings, add tint color setting 2024-12-09 16:29:36 +01:00
dec05eba
f3565fdd77 Query capture options when opening settings and validate capture options when starting recording 2024-12-08 14:32:11 +01:00
dec05eba
6b66eebb68 CopyFromParent 2024-12-04 01:42:09 +01:00
dec05eba
aec2772495 Fix window opening on incorrect monitor on wayland or with incorrect size 2024-12-04 00:40:00 +01:00
dec05eba
3ed89cd80b Move first mouse move event to after frame has been drawn 2024-12-02 22:02:36 +01:00
dec05eba
9e220bb5f6 Optimization: dont draw file chooser items above scissor area 2024-12-01 01:56:20 +01:00
dec05eba
9661f0b823 Add more reliable mouse/keyboard grabbing to fix keyboard input not working in ui in some games 2024-11-30 22:38:03 +01:00
dec05eba
6cde892148 Use X11 global hotkeys on X11 when possible to prevent clashing with keys used by other applications 2024-11-30 22:26:56 +01:00
dec05eba
f885ae67f1 Re-add escape button to go back to the previous page/close 2024-11-30 21:52:07 +01:00
dec05eba
e8c17d248d Cleanup 2024-11-30 19:29:24 +01:00
dec05eba
21c7db19a9 Fix the UI not having keyboard input when a wayland application is focused when opening the UI 2024-11-30 19:21:43 +01:00
dec05eba
f84cdafb57 README update 2024-11-29 19:08:32 +01:00
dec05eba
2ea0a921e8 Fix restore portal session option not working, close other notifications when showing a new one 2024-11-28 15:11:50 +01:00
dec05eba
ece3d02e0a Fix window not being fullscreen on multi monitor systems on cinnamon. Fix some applications getting minimized when opening the ui 2024-11-28 12:16:49 +01:00
dec05eba
5cfca3e55a Properly close program when disconnected from the X server 2024-11-26 18:27:56 +01:00
dec05eba
99acbdb596 Fix keyboard input not working on wayland 2024-11-25 18:40:15 +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
a872c07f7a Dont allow running the program as the root user 2024-11-24 22:53:29 +01:00
dec05eba
b57bc8505d Poll all text from linux global hotkeys instead of once per update 2024-11-24 20:25:31 +01:00
dec05eba
9b363d3c0d Shutdown if the x11 connection shuts down 2024-11-24 20:09:45 +01:00
dec05eba
a008d83514 Fix getting stuck on shutdown with SIGINT 2024-11-24 19:39:23 +01:00