fullscreen and focused output

This commit is contained in:
2026-01-11 22:38:28 +07:00
parent e2109183e3
commit b33102b341
5 changed files with 27 additions and 21 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ void absinthe_toplevel_set_fullscreen(struct absinthe_toplevel *toplevel, bool f
if (!toplevel || toplevel->fullscreen == fullscreen)
return;
struct absinthe_output *output = toplevel->output;
struct absinthe_output *output = toplevel->server->focused_output;
toplevel->fullscreen = fullscreen;
wlr_xdg_toplevel_set_fullscreen(toplevel->xdg_toplevel, fullscreen);