remove warnings and add autofocus

This commit is contained in:
2026-04-26 14:31:03 +07:00
parent 0e965e9583
commit 67d379e283
15 changed files with 55 additions and 11 deletions
+2
View File
@@ -4,6 +4,7 @@
void xdg_decoration_request_mode(struct wl_listener *listener, void *data)
{
UNUSED(data);
struct absinthe_toplevel *toplevel = wl_container_of(listener, toplevel, decoration_request_mode);
if (toplevel->toplevel.xdg->base->initialized)
wlr_xdg_toplevel_decoration_v1_set_mode(toplevel->decoration, WLR_XDG_TOPLEVEL_DECORATION_V1_MODE_SERVER_SIDE);
@@ -11,6 +12,7 @@ void xdg_decoration_request_mode(struct wl_listener *listener, void *data)
void xdg_decoration_destroy(struct wl_listener *listener, void *data)
{
UNUSED(data);
struct absinthe_toplevel *toplevel = wl_container_of(listener, toplevel, decoration_destroy);
wl_list_remove(&toplevel->decoration_request_mode.link);