mirror of
https://github.com/pinnacle-comp/pinnacle.git
synced 2025-01-14 08:01:14 +01:00
Rearrange layer map on winit resize
This commit is contained in:
parent
766567cf48
commit
f0c77c9e88
1 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,7 @@ use smithay::{
|
||||||
winit::{WinitError, WinitEvent, WinitGraphicsBackend},
|
winit::{WinitError, WinitEvent, WinitGraphicsBackend},
|
||||||
},
|
},
|
||||||
delegate_dmabuf,
|
delegate_dmabuf,
|
||||||
desktop::{space, utils::send_frames_surface_tree},
|
desktop::{layer_map_for_output, space, utils::send_frames_surface_tree},
|
||||||
input::pointer::{CursorImageAttributes, CursorImageStatus},
|
input::pointer::{CursorImageAttributes, CursorImageStatus},
|
||||||
output::{Output, Subpixel},
|
output::{Output, Subpixel},
|
||||||
reexports::{
|
reexports::{
|
||||||
|
@ -227,6 +227,7 @@ pub fn run_winit() -> Result<(), Box<dyn Error>> {
|
||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
);
|
);
|
||||||
|
layer_map_for_output(&output).arrange();
|
||||||
state.re_layout(&output);
|
state.re_layout(&output);
|
||||||
}
|
}
|
||||||
WinitEvent::Focus(_) => {}
|
WinitEvent::Focus(_) => {}
|
||||||
|
|
Loading…
Reference in a new issue