refactor: apply requested size for surface after creation

This should help popups start as the correct size, and also layer surfaces
This commit is contained in:
Ashley Wulber 2024-10-23 18:33:45 -04:00
parent cb529219ab
commit 9668fd9821
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
3 changed files with 130 additions and 30 deletions

View file

@ -18,9 +18,7 @@ use crate::{
};
use raw_window_handle::HasDisplayHandle;
use sctk::reexports::{
calloop_wayland_source::WaylandSource, client::protocol::wl_subcompositor,
};
use sctk::reexports::calloop_wayland_source::WaylandSource;
use sctk::{
activation::ActivationState,
compositor::CompositorState,