xdg_shell: Trigger blocker evaluation on toplevel destruction
This commit is contained in:
parent
d50ad4e85c
commit
1a9f976818
1 changed files with 10 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ use smithay::{
|
||||||
use std::cell::Cell;
|
use std::cell::Cell;
|
||||||
use tracing::warn;
|
use tracing::warn;
|
||||||
|
|
||||||
use super::screencopy::PendingScreencopyBuffers;
|
use super::{compositor::client_compositor_state, screencopy::PendingScreencopyBuffers};
|
||||||
|
|
||||||
pub mod popup;
|
pub mod popup;
|
||||||
|
|
||||||
|
|
@ -238,6 +238,15 @@ impl XdgShellHandler for State {
|
||||||
self.common.shell.active_space_mut(output).refresh();
|
self.common.shell.active_space_mut(output).refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// animations might be unblocked now
|
||||||
|
let clients = self.common.shell.update_animations();
|
||||||
|
{
|
||||||
|
let dh = self.common.display_handle.clone();
|
||||||
|
for client in clients.values() {
|
||||||
|
client_compositor_state(&client).blocker_cleared(self, &dh);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// screencopy
|
// screencopy
|
||||||
let mut scheduled_sessions = self.schedule_workspace_sessions(surface.wl_surface());
|
let mut scheduled_sessions = self.schedule_workspace_sessions(surface.wl_surface());
|
||||||
for output in outputs.into_iter() {
|
for output in outputs.into_iter() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue