fix(wayland): remove wayland crate pinning

This commit is contained in:
Nova
2022-10-25 16:21:22 -04:00
parent a6d30cb366
commit 9cd900b23f
3 changed files with 3 additions and 9 deletions

View File

@@ -28,8 +28,7 @@ impl XdgShellHandler for WaylandState {
}
fn new_toplevel(&mut self, surface: ToplevelSurface) {
self.output
.enter(&self.display_handle, surface.wl_surface());
self.output.enter(surface.wl_surface());
surface.with_pending_state(|state| {
state.states.set(State::Maximized);
state.states.set(State::Activated);