fix: subsurface improvements
this fixes a couple issues in the greeter
This commit is contained in:
parent
2a680eeb32
commit
f7dc180371
7 changed files with 100 additions and 25 deletions
|
|
@ -67,7 +67,11 @@ impl winit::window::Window for SctkWinitWindow {
|
|||
}
|
||||
|
||||
fn request_redraw(&self) {
|
||||
if let CommonSurface::Subsurface { parent, .. } = &self.surface {
|
||||
_ = self.tx.send(Action::RequestRedraw(parent.id()));
|
||||
}
|
||||
let surface = self.surface.wl_surface();
|
||||
|
||||
_ = self.tx.send(Action::RequestRedraw(surface.id()));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue