Commit Graph

112 Commits

Author SHA1 Message Date
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
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
f3565fdd77 Query capture options when opening settings and validate capture options when starting recording 2024-12-08 14:32:11 +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
5cfca3e55a Properly close program when disconnected from the X server 2024-11-26 18:27:56 +01:00
dec05eba
a872c07f7a Dont allow running the program as the root user 2024-11-24 22:53:29 +01:00
dec05eba
9b363d3c0d Shutdown if the x11 connection shuts down 2024-11-24 20:09:45 +01:00
dec05eba
3468554eb3 Allow running the ui on Wayland through XWayland 2024-11-24 19:13:35 +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
dec05eba
d2f6b0738b Add option to start replay on fullscreen 2024-11-14 00:25:37 +01:00
dec05eba
623297b18a Prefer window title for game name rather than class, fix game names with slash not saving to correct dir 2024-11-04 22:48:05 +01:00
dec05eba
bfadff61d2 Force window always on top, even if restacking order changes 2024-11-02 11:56:01 +01:00
dec05eba
6fbd8b0dd3 Add option to automatically turn on replay at system startup 2024-11-01 20:10:48 +01:00
dec05eba
cd89668d0c Reduce cpu usage when ui is not visible 2024-10-27 15:07:24 +01:00
dec05eba
fde7e3c499 Fix for prime systems 2024-10-27 14:19:18 +01:00
dec05eba
80ff6582a9 Fix window not visible in fullscreen applications 2024-10-27 13:59:17 +01:00
dec05eba
59dfd87c21 Add hotkeys for replay and streaming, finish everything 2024-10-27 13:09:06 +01:00
dec05eba
1d2fc77cfc Make the ui the daemon instead, add hotkey for recording/pause 2024-10-26 11:37:52 +02:00
dec05eba
57977f29e1 gsr-overlay > gsr-ui, 2 2024-10-20 22:46:28 +02:00
dec05eba
d84054ecbb gsr-overlay > gsr-ui 2024-10-20 22:44:15 +02:00
dec05eba
7d6732a7d3 Only allow x11 for now 2024-09-11 19:58:30 +02:00
dec05eba
b145d957e3 More 2024-09-08 17:07:22 +02:00
dec05eba
3d5e8baa5f File chooser navigation 2024-08-25 13:39:33 +02:00
dec05eba
54c60d9a18 Start on file chooser, page stack 2024-08-23 18:53:19 +02:00
dec05eba
4ea5ada905 Settings page save settings, refactor 2024-08-10 00:45:36 +02:00
dec05eba
1a49f86e98 Add settings icon, close window when pressing the close button 2024-08-07 21:27:36 +02:00
dec05eba
b709805cfa Move settings ui to SettingsPage class, show different widgets for different settings page, show different widgets depending on combobox selections 2024-08-07 20:32:59 +02:00
dec05eba
2ea32e1109 glClear if compositor in use 2024-08-07 10:44:42 +02:00
dec05eba
d807484f71 Draw dark overlay on window texture 2024-08-07 09:32:38 +02:00
dec05eba
f640a3ed33 Use window texture (xcomposite) for background if the window is fullscreen on the selected monitor 2024-08-07 09:30:27 +02:00
dec05eba
8b98c612f7 Use stack for page navigation, dont add spacing between list elements if the widget is empty or not visible 2024-08-07 07:17:48 +02:00
dec05eba
8a0efc9e00 Monitor name 2024-08-07 00:22:29 +02:00
dec05eba
a3e479d5b2 Add radio button with simple/advanced view, add widget visibility 2024-08-07 00:21:35 +02:00
dec05eba
b3f5a53ece Rearrange settings page 2024-08-06 08:33:32 +02:00
dec05eba
520c61ec64 Add checkbox, scale more sizes by window scale 2024-08-06 08:22:42 +02:00
dec05eba
9f1fddc47c Copy Config from gpu-screen-recorder-gtk, make it more modern and efficient with string_view and variant, use string_view in gsr info parsing 2024-08-06 05:57:21 +02:00
dec05eba
b778fd7cc6 Change fonts, nicer combobox, add/remove audio track button 2024-08-06 03:11:43 +02:00
dec05eba
ae1897cf2c Resources path should use the same path as meson installed path 2024-08-05 21:25:59 +02:00
dec05eba
041ee753b1 Show overlay on focused monitor with the position and size of the focused monitor 2024-08-05 08:56:11 +02:00
dec05eba
f0bcf73ba3 Add meson build 2024-08-05 04:24:59 +02:00
dec05eba
2aa81b741c Switch to EGL 2024-08-04 21:47:14 +02:00
dec05eba
3a20c417cb Align list items, dont process selected item twice if changed in event loop, mouse button events should only occur when pressing left mouse button 2024-08-03 23:36:11 +02:00
dec05eba
c080342fcd Add entry with basic text editing and validation for numbers 2024-08-03 05:21:36 +02:00
dec05eba
2869ef7cec Add widgets for settings page, add list to auto position widgets 2024-08-02 23:53:28 +02:00
dec05eba
7c4af06d95 Add settings page labels 2024-08-02 20:24:16 +02:00
dec05eba
93da082d32 Always use transparent background, only take screenshot if no compositor 2024-08-02 06:19:34 +02:00
dec05eba
548dae6699 Only take a screenshot if no compositor is running and fix transparent window alpha blending 2024-08-02 06:05:01 +02:00
dec05eba
b094002c5b Run gpu screen recorder as a child process, show notification on start/stop 2024-08-02 01:23:48 +02:00
dec05eba
495bd6bed8 Add audio devices 2024-08-02 00:45:27 +02:00
dec05eba
be0ad41e74 Use scissor for pages 2024-08-01 22:41:07 +02:00