Make all listeners private

This commit is contained in:
Kirill Primak 2024-10-25 08:16:09 +03:00 committed by Alexander Orzechowski
parent 3bbfae73ae
commit 1520be3c5c
44 changed files with 365 additions and 180 deletions

View file

@ -48,10 +48,12 @@ struct wlr_xwayland_server {
struct wl_signal destroy;
} events;
struct wl_listener client_destroy;
struct wl_listener display_destroy;
void *data;
struct {
struct wl_listener client_destroy;
struct wl_listener display_destroy;
} WLR_PRIVATE;
};
struct wlr_xwayland_server_ready_event {

View file

@ -133,9 +133,6 @@ struct wlr_xwayland_surface {
struct wlr_surface *surface;
struct wlr_addon surface_addon;
struct wl_listener surface_commit;
struct wl_listener surface_map;
struct wl_listener surface_unmap;
int16_t x, y;
uint16_t width, height;
@ -216,6 +213,12 @@ struct wlr_xwayland_surface {
} events;
void *data;
struct {
struct wl_listener surface_commit;
struct wl_listener surface_map;
struct wl_listener surface_unmap;
} WLR_PRIVATE;
};
struct wlr_xwayland_surface_configure_event {