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:
parent
cb529219ab
commit
9668fd9821
3 changed files with 130 additions and 30 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue