From: Scott Moynes Date: Fri, 4 Oct 2002 03:18:28 +0000 (+0000) Subject: oops. fix workspace warping merge buglet X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=fa3fb793e7e8a4d7dfdc1d4997983ea59a8b6924;p=chaz%2Fopenbox oops. fix workspace warping merge buglet --- 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 {