diff options
| -rw-r--r-- | src/Window.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc index b8e2214a..8a1bbda2 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -3368,7 +3368,7 @@ void BlackboxWindow::doWorkspaceWarping(int x_root, int y_root, int &dx) { bool focus = flags.focused; // had focus while moving? int dest_x = x_root; - if (x_root < 0) { + if (x_root <= 0) { dest_x += screen->getRect().width() - 1; dx += screen->getRect().width() - 1; } else { |
