-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtoplevel_list.h
More file actions
29 lines (21 loc) · 873 Bytes
/
Copy pathtoplevel_list.h
File metadata and controls
29 lines (21 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#pragma once
#include "ext-foreign-toplevel-list-v1-protocol.h"
#include "global.h"
struct toplevel_list {
struct ext_foreign_toplevel_list_v1 *toplevel_list;
struct wl_list toplevels;
};
struct toplevel_list_object {
struct wl_list link;
struct ext_foreign_toplevel_handle_v1 *handle;
bool closed, done;
char *identifier;
};
void toplevel_list_registry_global (void *data, struct wl_registry *registry,
uint32_t name, const char *interface,
uint32_t version);
void toplevel_list_registry_global_remove (void *data,
struct wl_registry *registry,
uint32_t name);
void toplevel_list_init (struct toplevel_list *tl);
void toplevel_list_destroy (struct toplevel_list *tl);