shell: Raise X11 surfaces on workspace activate
This commit is contained in:
parent
37623f063f
commit
8da782df67
2 changed files with 33 additions and 2 deletions
|
|
@ -1106,6 +1106,16 @@ impl Shell {
|
|||
set.workspaces[set.active].tiling_layer.cleanup_drag();
|
||||
}
|
||||
set.activate(idx, &mut self.workspace_state.update())?;
|
||||
if let Some(xwm) = self
|
||||
.xwayland_state
|
||||
.as_mut()
|
||||
.and_then(|state| state.xwm.as_mut())
|
||||
{
|
||||
let _ = set.workspaces[idx].raise_x11_windows(xwm);
|
||||
for surface in &self.override_redirect_windows {
|
||||
let _ = xwm.raise_window(surface);
|
||||
}
|
||||
}
|
||||
|
||||
let output_geo = output.geometry();
|
||||
Ok(Some(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue