diff --git a/src/api/handlers.rs b/src/api/handlers.rs index e6025b405..9a1024bb4 100644 --- a/src/api/handlers.rs +++ b/src/api/handlers.rs @@ -353,6 +353,8 @@ impl State { tag.set_layout(layout); let Some(output) = tag.output(self) else { return }; self.update_windows(&output); + + self.schedule_render(&output); } Msg::ConnectForAllOutputs { callback_id } => { diff --git a/src/window/window_state.rs b/src/window/window_state.rs index bde7f9f0c..429eb263c 100644 --- a/src/window/window_state.rs +++ b/src/window/window_state.rs @@ -73,16 +73,6 @@ pub enum LocationRequestState { Acknowledged(Point), } -impl LocationRequestState { - /// Returns `true` if the location request state is [`Idle`]. - /// - /// [`Idle`]: LocationRequestState::Idle - #[must_use] - pub fn is_idle(&self) -> bool { - matches!(self, Self::Idle) - } -} - impl WindowElement { /// RefCell Safety: This method uses a [`RefCell`] on this window. pub fn toggle_floating(&self) {