aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-07-22 20:16:34 +0200
committerdec05eba <dec05eba@protonmail.com>2023-07-22 20:17:29 +0200
commit9ba96b7205a798d32c2ade05968bc3e1f2ac83f1 (patch)
treeffbbd9ab7c41142d3779f526f6c8855598896eea /src
parentc96f804a6cf20d07f56bf4a923997bf1aa5a9e9b (diff)
Disable wlroots capture until its fixed
Diffstat (limited to 'src')
-rw-r--r--src/egl.c4
-rw-r--r--src/main.cpp2
2 files changed, 4 insertions, 2 deletions
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 {