make apps think that they are fullscreen

This commit is contained in:
galister
2026-01-02 21:49:53 +09:00
parent b91ec99782
commit 43575dea0a

View File

@@ -235,6 +235,7 @@ impl XdgShellHandler for Application {
} }
surface.with_pending_state(|state| { surface.with_pending_state(|state| {
state.states.set(xdg_toplevel::State::Activated); state.states.set(xdg_toplevel::State::Activated);
state.states.set(xdg_toplevel::State::Fullscreen);
}); });
surface.send_configure(); surface.send_configure();
} }