Skip to content

Commit

Permalink
fix(wayland): send pending configure on resize just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
technobaboo committed Jul 5, 2024
1 parent 707b818 commit 7bedd2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wayland/xdg_shell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ impl Backend for XdgBackend {
toplevel.with_pending_state(|s| {
s.size = Some((size.x.max(16) as i32, size.y.max(16) as i32).into())
});
toplevel.send_configure();
toplevel.send_pending_configure();
}
fn set_toplevel_focused_visuals(&self, focused: bool) {
let Some(toplevel) = self.toplevel.lock().clone() else {
Expand Down

0 comments on commit 7bedd2c

Please sign in to comment.