Use WLR_PRIVATE for private fields

This commit is contained in:
Kirill Primak 2024-10-05 11:37:22 +03:00
parent e51ce333bc
commit 6006023a37
35 changed files with 262 additions and 249 deletions

View file

@ -65,13 +65,13 @@ struct wlr_xwayland {
void *data;
// private state
struct wl_listener server_start;
struct wl_listener server_ready;
struct wl_listener server_destroy;
struct wl_listener seat_destroy;
struct wl_listener shell_destroy;
struct {
struct wl_listener server_start;
struct wl_listener server_ready;
struct wl_listener server_destroy;
struct wl_listener seat_destroy;
struct wl_listener shell_destroy;
} WLR_PRIVATE;
};
enum wlr_xwayland_surface_decorations {