Schedule render when session lock is created/destroyed
This commit is contained in:
parent
440cd03371
commit
b33c1dc9f7
1 changed files with 10 additions and 0 deletions
|
|
@ -36,10 +36,20 @@ impl SessionLockHandler for State {
|
|||
ext_session_lock,
|
||||
surfaces: HashMap::new(),
|
||||
});
|
||||
|
||||
for output in self.common.shell.outputs() {
|
||||
self.backend
|
||||
.schedule_render(&self.common.event_loop_handle, &output, None);
|
||||
}
|
||||
}
|
||||
|
||||
fn unlock(&mut self) {
|
||||
self.common.shell.session_lock = None;
|
||||
|
||||
for output in self.common.shell.outputs() {
|
||||
self.backend
|
||||
.schedule_render(&self.common.event_loop_handle, &output, None);
|
||||
}
|
||||
}
|
||||
|
||||
fn new_surface(&mut self, lock_surface: LockSurface, wl_output: WlOutput) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue