labwc/include/decorations.h
Consolatis 9e6aaa689a project wide: clean up event listeners on shutdown
This ensures all event listeners are removed before the emitting
wlroots object is being destroyed. This will be enforced with asserts
in wlroots 0.19 but there is no reason to not do it right now either.

This change in wlroots 0.19 is implemented via commit
8f56f7ca43257cc05c7c4eb57a0f541e05cf9a79
"Assert (almost all) signals have no attached listeners on destroy"
2025-03-13 17:33:51 +09:00

18 lines
548 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef LABWC_DECORATIONS_H
#define LABWC_DECORATIONS_H
struct server;
struct view;
struct wlr_surface;
void kde_server_decoration_init(struct server *server);
void xdg_server_decoration_init(struct server *server);
void kde_server_decoration_update_default(void);
void kde_server_decoration_set_view(struct view *view, struct wlr_surface *surface);
void kde_server_decoration_finish(struct server *server);
void xdg_server_decoration_finish(struct server *server);
#endif /* LABWC_DECORATIONS_H */