mirror of
https://github.com/pinnacle-comp/pinnacle.git
synced 2024-12-26 21:58:10 +01:00
Schedule render on tag change, update window stack on udev
This commit is contained in:
parent
7572523cfc
commit
27692997ed
4 changed files with 4 additions and 2 deletions
|
@ -459,6 +459,8 @@ pub fn run_udev() -> anyhow::Result<()> {
|
|||
data.display_handle
|
||||
.flush_clients()
|
||||
.expect("failed to flush_clients");
|
||||
|
||||
data.state.focus_state.fix_up_focus(&mut data.state.space);
|
||||
},
|
||||
)?;
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
use std::{ffi::OsString, time::Duration};
|
||||
|
||||
use calloop::LoopHandle;
|
||||
use smithay::{
|
||||
backend::{
|
||||
egl::EGLDevice,
|
||||
|
|
|
@ -317,7 +317,6 @@ impl XwmHandler for CalloopData {
|
|||
};
|
||||
tracing::debug!("configure notify with geo: {geometry:?}");
|
||||
self.state.space.map_element(win, geometry.loc, true);
|
||||
// TODO: anvil has a TODO here
|
||||
}
|
||||
|
||||
fn maximize_request(&mut self, _xwm: XwmId, window: X11Surface) {
|
||||
|
|
|
@ -257,6 +257,7 @@ impl State {
|
|||
if let Some(output) = tag.output(self) {
|
||||
self.update_windows(&output);
|
||||
self.update_focus(&output);
|
||||
self.schedule_render(&output);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -271,6 +272,7 @@ impl State {
|
|||
});
|
||||
self.update_windows(&output);
|
||||
self.update_focus(&output);
|
||||
self.schedule_render(&output);
|
||||
}
|
||||
Msg::AddTags {
|
||||
output_name,
|
||||
|
|
Loading…
Reference in a new issue