diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-09-07 19:19:00 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-09-07 19:19:00 +0200 |
commit | 7d358580a21061136919fec2b980daba3d05d741 (patch) | |
tree | 0e6c70444ffb0c6e7ac88380c8aced2b706f312c /src/egl.c | |
parent | d6cf3b73549f48bb1a640e6359fc45ee776b7188 (diff) |
wip
Diffstat (limited to 'src/egl.c')
-rw-r--r-- | src/egl.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -572,6 +572,9 @@ bool gsr_egl_start_capture(gsr_egl *self, const char *monitor_to_capture) { if(!gsr_egl_supports_wayland_capture(self)) return false; + if(self->wayland.frame_callback) + return false; + self->wayland.output_to_capture = get_wayland_output_by_name(self, monitor_to_capture); if(!self->wayland.output_to_capture) return false; |