Requested changes
This commit is contained in:
parent
1f2e57b2a9
commit
bbd635d428
1 changed files with 3 additions and 3 deletions
|
|
@ -120,14 +120,14 @@ impl Shell {
|
||||||
&mut workspace_state,
|
&mut workspace_state,
|
||||||
&mut spaces,
|
&mut spaces,
|
||||||
);
|
);
|
||||||
let floatdefault = config.static_conf.floating_default;
|
let floating_default = config.static_conf.floating_default;
|
||||||
|
|
||||||
Shell {
|
Shell {
|
||||||
popups: PopupManager::new(None),
|
popups: PopupManager::new(None),
|
||||||
spaces,
|
spaces,
|
||||||
outputs: Vec::new(),
|
outputs: Vec::new(),
|
||||||
workspace_mode: mode,
|
workspace_mode: mode,
|
||||||
floating_default: floatdefault,
|
floating_default,
|
||||||
shell_mode: ShellMode::Normal,
|
shell_mode: ShellMode::Normal,
|
||||||
|
|
||||||
pending_windows: Vec::new(),
|
pending_windows: Vec::new(),
|
||||||
|
|
@ -594,7 +594,7 @@ impl Shell {
|
||||||
.toplevel_enter_workspace(&window, &workspace.handle);
|
.toplevel_enter_workspace(&window, &workspace.handle);
|
||||||
self.toplevel_info_state
|
self.toplevel_info_state
|
||||||
.toplevel_enter_output(&window, &output);
|
.toplevel_enter_output(&window, &output);
|
||||||
if layout::should_be_floating(&window) || self.floating_default == true {
|
if layout::should_be_floating(&window) || self.floating_default {
|
||||||
workspace
|
workspace
|
||||||
.floating_layer
|
.floating_layer
|
||||||
.map_window(&mut workspace.space, window, &seat, None);
|
.map_window(&mut workspace.space, window, &seat, None);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue