fix(xdg shell): set surface state to activated on first commit

This commit is contained in:
Nova
2022-09-13 04:45:50 -04:00
parent bb65da77c7
commit 507ea4a850

View File

@@ -24,6 +24,7 @@ impl XdgShellHandler for WaylandState {
.enter(&self.display_handle, surface.wl_surface());
surface.with_pending_state(|state| {
state.states.set(State::Fullscreen);
state.states.set(State::Activated);
state.decoration_mode = Some(Mode::ServerSide);
});
surface.send_configure();