toplevel-info/mgmt: Update to v2/v3
This commit is contained in:
parent
bbda6fb13d
commit
9c7c41c508
11 changed files with 270 additions and 119 deletions
|
|
@ -384,7 +384,6 @@ 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,
|
||||
);
|
||||
|
|
@ -414,12 +413,7 @@ 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,
|
||||
&mut self.common.foreign_toplevel_list,
|
||||
);
|
||||
shell.unmap_surface(&window, &seat, &mut self.common.toplevel_info_state);
|
||||
}
|
||||
|
||||
let outputs = if let Some(wl_surface) = window.wl_surface() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue