On Wayland, fix RedrawRequsted loop
The `dirty` is never cleared when decorations are hidden without `sctk-adwaita`. Fixes #3177.
This commit is contained in:
parent
c235bd154a
commit
53ca5af48f
2 changed files with 2 additions and 1 deletions
|
|
@ -537,7 +537,7 @@ impl WindowState {
|
|||
/// Refresh the decorations frame if it's present returning whether the client should redraw.
|
||||
pub fn refresh_frame(&mut self) -> bool {
|
||||
if let Some(frame) = self.frame.as_mut() {
|
||||
if frame.is_dirty() {
|
||||
if !frame.is_hidden() && frame.is_dirty() {
|
||||
return frame.draw();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue