aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO3
-rw-r--r--com.dec05eba.gpu_screen_recorder.appdata.xml5
-rw-r--r--src/egl.c4
-rw-r--r--src/main.cpp2
4 files changed, 11 insertions, 3 deletions
diff --git a/TODO b/TODO
index cece952..dfc6d16 100644
--- a/TODO
+++ b/TODO
@@ -6,4 +6,5 @@ Button (in the field) to remove hotkey.
Implement global hotkeys on wayland.
Add pipewire capture option.
Error if polkit agent is not running (pkexec --help may work but the agent might not be running anyways).
-Fix gui crash on stop recording on sway. \ No newline at end of file
+Fix gui crash on stop recording on sway.
+Re-enable wlroots based capture when it's fixed. \ No newline at end of file
diff --git a/com.dec05eba.gpu_screen_recorder.appdata.xml b/com.dec05eba.gpu_screen_recorder.appdata.xml
index deba3d4..0cd1779 100644
--- a/com.dec05eba.gpu_screen_recorder.appdata.xml
+++ b/com.dec05eba.gpu_screen_recorder.appdata.xml
@@ -44,6 +44,11 @@
</screenshots>
<releases>
+ <release version="3.1.3" date="2023-02-22">
+ <description>
+ <p>Fix capture on wlroots based wayland compositors. Fix cursor offset in amd/intel capture.</p>
+ </description>
+ </release>
<release version="3.1.2" date="2023-02-22">
<description>
<p>Support cursor capture on AMD/Intel on Wayland. Attempt to fix multi monitor offset capture in some cases.</p>
diff --git a/src/egl.c b/src/egl.c
index c69983b..68ec720 100644
--- a/src/egl.c
+++ b/src/egl.c
@@ -375,5 +375,7 @@ void gsr_egl_unload(gsr_egl *self) {
}
bool gsr_egl_supports_wayland_capture(gsr_egl *self) {
- return !!self->wayland.export_manager && self->wayland.num_outputs > 0;
+ (void)self;
+ return false;
+ //return !!self->wayland.export_manager && self->wayland.num_outputs > 0;
}
diff --git a/src/main.cpp b/src/main.cpp
index e5d721d..6856203 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -97,7 +97,7 @@ static std::string record_file_current_filename;
static bool nvfbc_installed = false;
static bool wayland = false;
-char drm_card_path[128];
+static char drm_card_path[128];
static gsr_egl egl;
enum class HotkeyMode {