fix(xdg shell): set surface state to activated on first commit
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user