Commit Graph

74 Commits

Author SHA1 Message Date
dec05eba
9aea35200d Wrap kwin helper signals in a safe handler 2026-03-24 12:38:32 +01:00
dec05eba
83aa20a9e4 Poll revents reset 2026-03-11 11:39:36 +01:00
p0358
2395fbcf69 kwin: add exception for Spectacle
The "normalWindow" check was added "just in case", since for Spectacle it's also true. Unfortunately it seems there's literally no other reliable way of checking for Spectacle windows other than hardcoding a check for its resourceClass...
2026-03-07 17:44:37 +01:00
p0358
1951fd7c20 kwin: add support for determining active window's monitor name 2026-03-07 17:44:22 +01:00
p0358
52afad5824 kwin: emit window fullscreen info + refactor helper script
The helper script was also refactored to minimize the amount of callbacks added and the memory used. There's no need to keep callbacks attached for non-active windows, which happened before.

Also it should be more efficient and simpler to send info over with just a single DBus call (also if more fields were to be added).

Both the script and the helper app will send/print info only if it changed since the previous one. Otherwise we'd keep spamming fullscreen false update when navigating the desktop and so on.
2026-03-07 17:44:10 +01:00
dec05eba
636eca0d0e Minor 2026-03-07 17:43:20 +01:00
dec05eba
89995b805e Fix kwin window title workaround not working, rename com.dec05eba.gpu_screen_recorder.gsr_kwin_helper to com.dec05eba.gpu_screen_recorder, otherwise name reply primary owner error 2026-01-28 01:40:39 +01:00
dec05eba
1dbe34c891 gsr-hyprland-helper: workaround flatpak bug with environment variables 2026-01-27 18:49:18 +01:00
dec05eba
c6339ac9c2 Rename dbus from com.dec05eba.gsr_kwin_helper to com.dec05eba.gpu_screen_recorder.gsr_kwin_helper for flatpak access 2026-01-24 18:14:11 +01:00
dec05eba
bfc7df5c56 Mention that libdbus is a new dependency 2026-01-24 01:01:26 +01:00
dec05eba
9c5688f61b Simplify gsr-hyprland-helper, some cleanups 2026-01-24 00:55:47 +01:00
Andrew
1e3e76fcee Hyprland and KDE workarounds should work with flatpak now 2026-01-22 10:41:02 +01:00
Andrew
00ceaa989d Added KWin workaround to get current window title 2026-01-22 10:40:51 +01:00
dec05eba
5f484bd82c Add hotkey for region/window recording 2026-01-19 22:26:03 +01:00
dec05eba
1f6251baf3 Fix high cpu usage when running global hotkeys without grab and then connecting a secondary keyboard 2026-01-08 20:23:21 +01:00
dec05eba
fd5026489c Revert minor 2025-12-25 08:28:17 +01:00
dec05eba
13562d2aa1 Add webcam support 2025-12-25 08:19:07 +01:00
dec05eba
2506750243 Fix leds getting unset when closing the program 2025-11-08 13:24:40 +01:00
dec05eba
d1f8db3760 Support keyboard led indicator on wayland as well 2025-11-08 03:28:18 +01:00
dec05eba
70df557c2b Add led indicator setting, use one setting for notifications, move it under general 2025-11-07 22:05:14 +01:00
dec05eba
be07070789 Ungrab devices if there is a keyboard lock (if an input remapping software runs and grabs gsr-ui virtual keyboard) 2025-11-07 19:23:38 +01:00
dec05eba
1c24616388 Support more controllers than real ps4 controllers 2025-10-26 14:26:46 +01:00
dec05eba
0b4af1e6bb Fix rpc file getting deleted when launching gsr-ui twice. Use unix domain socket instead 2025-10-03 13:08:57 +02:00
dec05eba
ad94cff59e Add lshift + printscreen hotkey to take a screenshot of a window (or desktop portal on wayland) 2025-07-20 01:55:02 +02:00
dec05eba
2df417f23f gsr-global-hotkeys: better error messages 2025-05-24 14:00:23 +02:00
dec05eba
ff564fcb52 Fix replay duration range 2025-05-15 12:36:30 +02:00
dec05eba
af4fc84ef7 Fix some mice and controllers being grabbed when they shouldn't 2025-05-14 21:00:24 +02:00
dec05eba
d08ea69277 Keep keyboard led when turning on global hotkeys, move files 2025-05-03 12:03:43 +02:00
dec05eba
41412db704 Better replay recording handling. Add gsr-ui-cli command to save shorter replay 2025-04-23 19:27:57 +02:00
dec05eba
38feee9f29 Fix unable to change hotkey settings while recording 2025-04-11 21:51:38 +02:00
dec05eba
c26b54047f Support f16-f24 keys, fix keyboard grab remaining grabbed for hotkeys when not using modifier and changing hotkeys 2025-04-03 13:03:36 +02:00
dec05eba
c8eadbc7c4 m 2025-03-30 22:31:26 +02:00
dec05eba
c7080e5d99 Revert "Add high performance encoding option (for amd) in settings page. Requires gsr version >= 5.3.4"
This reverts commit 3060e3ee00.
2025-03-30 22:30:47 +02:00
dec05eba
3060e3ee00 Add high performance encoding option (for amd) in settings page. Requires gsr version >= 5.3.4 2025-03-30 17:16:21 +02:00
dec05eba
726e0c7dce Allow binding non alpha-numerical keys without a modifier 2025-03-23 00:22:49 +01:00
dec05eba
2ec59c6812 Add alt+f2 to take a screenshot of a region 2025-03-21 23:47:24 +01:00
dec05eba
6c7158c06d Support more keys for hotkeys (media keys) 2025-03-14 00:20:08 +01:00
dec05eba
189736c1a9 Add option to take a screenshot (default hotkey: alt+f1) 2025-02-22 13:31:51 +01:00
dec05eba
efb5fc53c1 Show notification when saving a large replay that is taking some time 2025-02-07 19:41:39 +01:00
dec05eba
6fe9f1a8d5 Fix global hotkeys when using virtual mapper that pretends to be a joystick as well (kanata) 2025-02-05 21:03:42 +01:00
dec05eba
fd63ac3626 Fix for steamdeck 2025-02-03 20:27:35 +01:00
dec05eba
2a0782eb02 Attempt to fix global hotkeys not working on steam deck (grabs keys, cant press buttons) 2025-02-03 19:58:42 +01:00
dec05eba
3cb156aecb Delegate keyboard grab until a button has been pressed if the device says its a mouse 2025-01-26 17:43:38 +01:00
dec05eba
dea4393588 Revert global hotkeys change, ignore mice again 2025-01-26 14:12:03 +01:00
dec05eba
c04e6a87e6 Fix hotkeys not working on some keyboards 2025-01-26 10:23:17 +01:00
dec05eba
f036fcbc0f Add 'restart replay on save' option 2025-01-24 00:42:33 +01:00
dec05eba
1d9d4d6398 Make hotkeys reconfigurable, faster hotkey startup time, fix some keyboard locale issues 2025-01-23 21:25:45 +01:00
dec05eba
47ada4d798 Add option to save replay with controller (double-click share button), allow prime-run on wayland 2025-01-20 23:11:00 +01:00
dec05eba
bb54b67956 sys/poll.h -> poll.h 2025-01-10 00:14:18 +01:00
dec05eba
77dd32a3ff Revert "Dont use dlopen in gsr-global-hotkeys"
This reverts commit b0def958c7.
2025-01-09 13:08:12 +01:00