mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-05-05 06:20:43 +09:00
temp debug
This commit is contained in:
@@ -100,6 +100,7 @@ static const struct wl_output_listener output_listener = {
|
|||||||
static void registry_add_object(void *data, struct wl_registry *registry, uint32_t name, const char *interface, uint32_t version) {
|
static void registry_add_object(void *data, struct wl_registry *registry, uint32_t name, const char *interface, uint32_t version) {
|
||||||
(void)version;
|
(void)version;
|
||||||
gsr_window_wayland *window_wayland = data;
|
gsr_window_wayland *window_wayland = data;
|
||||||
|
printf("info: wayland interface: %s\n", interface);
|
||||||
if(strcmp(interface, "wl_compositor") == 0) {
|
if(strcmp(interface, "wl_compositor") == 0) {
|
||||||
if(window_wayland->compositor)
|
if(window_wayland->compositor)
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user