fix: subsurface improvements

this fixes a couple issues in the greeter
This commit is contained in:
Ashley Wulber 2026-02-27 17:23:10 -05:00
parent 2a680eeb32
commit f7dc180371
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
7 changed files with 100 additions and 25 deletions

View file

@ -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()));
}