diff --git a/README.md b/README.md index da8fdbe1..82d85789 100644 --- a/README.md +++ b/README.md @@ -100,8 +100,8 @@ Swiping the trackpad horizontally with three fingers (only available in Wayland) | SuperCtrlLeft or SuperCtrlRight | Move the current window to the left or right | | SuperCtrlUp or SuperCtrlDown | Move the current window up or down | | SuperI | Absorb window into the active column | -| SuperO | Expel the bottom window from vertical stack | -| SuperP | Expel the active window from vertical stack | +| SuperO | Expel the bottom window from vertically tiled windows | +| SuperP | Expel the active window from vertically tiled windows | | SuperC | Center windows horizontally | | ShiftSuperF | Toggle fullscreen | | SuperF | Maximize the width of a window | diff --git a/tiling.js b/tiling.js index 0283f917..80d90273 100644 --- a/tiling.js +++ b/tiling.js @@ -4932,7 +4932,7 @@ export function barf(metaWindow, expelWindow) { const direction = Settings.prefs.open_window_position; switch (direction) { case Settings.OpenWindowPositions.LEFT: - to = index - 1; + to = index; // if left then current index will increment break; case Settings.OpenWindowPositions.RIGHT: default: @@ -4943,7 +4943,7 @@ export function barf(metaWindow, expelWindow) { // // remove metawindow from column if (expelWindow) { // remove expelWindow from current column - const indexOfWindow = column.indexOf(metaWindow); + const indexOfWindow = column.indexOf(expelWindow); column.splice(indexOfWindow, 1); } else {