mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 09:07:13 +09:00
m
This commit is contained in:
@@ -179,8 +179,7 @@ static void xdg_output_handle_name(void *data, struct zxdg_output_v1 *xdg_output
|
|||||||
(void)name;
|
(void)name;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void xdg_output_handle_description(void *data, struct zxdg_output_v1 *xdg_output, const char *description)
|
static void xdg_output_handle_description(void *data, struct zxdg_output_v1 *xdg_output, const char *description) {
|
||||||
{
|
|
||||||
(void)data;
|
(void)data;
|
||||||
(void)xdg_output;
|
(void)xdg_output;
|
||||||
(void)description;
|
(void)description;
|
||||||
@@ -231,7 +230,7 @@ static void gsr_window_wayland_deinit(gsr_window_wayland *self) {
|
|||||||
self->outputs[i].name = NULL;
|
self->outputs[i].name = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(self->outputs[i].output) {
|
if(self->outputs[i].xdg_output) {
|
||||||
zxdg_output_v1_destroy(self->outputs[i].xdg_output);
|
zxdg_output_v1_destroy(self->outputs[i].xdg_output);
|
||||||
self->outputs[i].output = NULL;
|
self->outputs[i].output = NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user