diff --git a/config.ron b/config.ron index 81ded936..fa33a54a 100644 --- a/config.ron +++ b/config.ron @@ -81,7 +81,7 @@ (modifiers: [], key: "XF86MonBrightnessUp"): Spawn("busctl --user call com.system76.CosmicSettingsDaemon /com/system76/CosmicSettingsDaemon com.system76.CosmicSettingsDaemon IncreaseDisplayBrightness"), (modifiers: [], key: "XF86MonBrightnessDown"): Spawn("busctl --user call com.system76.CosmicSettingsDaemon /com/system76/CosmicSettingsDaemon com.system76.CosmicSettingsDaemon DecreaseDisplayBrightness"), }, - workspace_mode: OutputBound, + workspace_mode: Global, workspace_amount: Dynamic, workspace_layout: Vertical, tiling_enabled: false, diff --git a/src/shell/layout/tiling/mod.rs b/src/shell/layout/tiling/mod.rs index 21d574b5..5e81e177 100644 --- a/src/shell/layout/tiling/mod.rs +++ b/src/shell/layout/tiling/mod.rs @@ -3055,7 +3055,7 @@ impl TilingLayout { mapped.is_in_input_region(&test_point).then(|| { ( mapped.clone().into(), - last_geometry.loc - output_data.location - mapped.geometry().loc, + last_geometry.loc + output_data.location - mapped.geometry().loc, ) }) } @@ -3086,7 +3086,8 @@ impl TilingLayout { orientation, } .into(), - last_geometry.loc - output_data.location + last_geometry.loc + + output_data.location + tree .children(&id) .unwrap()