toplevel_info: Assign new windows an output
This commit is contained in:
parent
1a3e779eb9
commit
2cbcf71879
1 changed files with 2 additions and 0 deletions
|
|
@ -556,6 +556,8 @@ impl Shell {
|
||||||
.remove_workspace_state(&workspace.handle, WState::Hidden);
|
.remove_workspace_state(&workspace.handle, WState::Hidden);
|
||||||
self.toplevel_info_state
|
self.toplevel_info_state
|
||||||
.toplevel_enter_workspace(&window, &workspace.handle);
|
.toplevel_enter_workspace(&window, &workspace.handle);
|
||||||
|
self.toplevel_info_state
|
||||||
|
.toplevel_enter_output(&window, &output);
|
||||||
if layout::should_be_floating(&window) {
|
if layout::should_be_floating(&window) {
|
||||||
workspace
|
workspace
|
||||||
.floating_layer
|
.floating_layer
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue