|
|
@ -95,7 +95,7 @@ static void handle_global(void *data, struct wl_registry *registry,
|
|
|
|
static struct screenshooter_output *output;
|
|
|
|
static struct screenshooter_output *output;
|
|
|
|
|
|
|
|
|
|
|
|
if (strcmp(interface, "wl_output") == 0) {
|
|
|
|
if (strcmp(interface, "wl_output") == 0) {
|
|
|
|
output = calloc(1, sizeof *output);
|
|
|
|
output = calloc(1, sizeof(*output));
|
|
|
|
output->output = wl_registry_bind(registry, name, &wl_output_interface,
|
|
|
|
output->output = wl_registry_bind(registry, name, &wl_output_interface,
|
|
|
|
1);
|
|
|
|
1);
|
|
|
|
wl_list_insert(&output_list, &output->link);
|
|
|
|
wl_list_insert(&output_list, &output->link);
|
|
|
|