Add ext-foreign-toplevel-list-v1 protocol
This commit is contained in:
parent
59b0e0e74e
commit
1342c000ab
9 changed files with 96 additions and 4 deletions
|
|
@ -313,6 +313,7 @@ impl XwmHandler for State {
|
|||
let res = shell.map_window(
|
||||
&window,
|
||||
&mut self.common.toplevel_info_state,
|
||||
&mut self.common.foreign_toplevel_list,
|
||||
&mut self.common.workspace_state,
|
||||
&self.common.event_loop_handle,
|
||||
);
|
||||
|
|
@ -342,7 +343,12 @@ impl XwmHandler for State {
|
|||
shell.override_redirect_windows.retain(|or| or != &window);
|
||||
} else {
|
||||
let seat = shell.seats.last_active().clone();
|
||||
shell.unmap_surface(&window, &seat, &mut self.common.toplevel_info_state);
|
||||
shell.unmap_surface(
|
||||
&window,
|
||||
&seat,
|
||||
&mut self.common.toplevel_info_state,
|
||||
&mut self.common.foreign_toplevel_list,
|
||||
);
|
||||
}
|
||||
|
||||
let outputs = if let Some(wl_surface) = window.wl_surface() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue