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
+1 -2
View File
@@ -12,10 +12,9 @@
void xdg_toplevel_commit(struct wl_listener *listener, void *data)
{
UNUSED(data);
struct absinthe_toplevel *toplevel = wl_container_of(listener, toplevel, commit);
int32_t borders_width = 2 * toplevel->border_width;
if (toplevel->toplevel.xdg->base->initial_commit) {
wlr_xdg_toplevel_set_activated(toplevel->toplevel.xdg, false);