shell: xdg-popup positioning logic
This commit is contained in:
parent
c3c0a25a80
commit
be136306cc
6 changed files with 434 additions and 13 deletions
|
|
@ -568,6 +568,10 @@ impl Shell {
|
|||
focus_stack.iter(),
|
||||
);
|
||||
}
|
||||
|
||||
for window in self.active_space(output).space.windows() {
|
||||
self.update_reactive_popups(window);
|
||||
}
|
||||
}
|
||||
|
||||
pub fn map_layer(&mut self, layer_surface: &LayerSurface, dh: &DisplayHandle) {
|
||||
|
|
@ -644,6 +648,13 @@ impl Shell {
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
for window in self.active_space(output).space.windows() {
|
||||
self.update_reactive_popups(window);
|
||||
}
|
||||
for window in self.spaces[idx].space.windows() {
|
||||
self.update_reactive_popups(window);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue