mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2026-05-05 02:07:58 +02:00
removed check
This commit is contained in:
parent
84659a2502
commit
68115dee5e
1 changed files with 1 additions and 1 deletions
|
|
@ -865,7 +865,7 @@ std::any CScrollingLayout::layoutMessage(SLayoutMessageHeader header, std::strin
|
|||
} else if (ARGS[1] == "-col") {
|
||||
const auto WDATA = dataFor(Desktop::focusState()->window());
|
||||
if (!WDATA) {
|
||||
if (DATA->leftOffset <= DATA->maxWidth() && DATA->columns.size() > 0) {
|
||||
if (DATA->columns.size() > 0) {
|
||||
DATA->centerCol(DATA->columns.back());
|
||||
DATA->recalculate();
|
||||
focusWindowUpdate((DATA->columns.back()->windowDatas.back())->window.lock());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue