summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moynes <smoynes@nexus.carleton.ca>2002-10-04 03:18:28 +0000
committerScott Moynes <smoynes@nexus.carleton.ca>2002-10-04 03:18:28 +0000
commitfa3fb793e7e8a4d7dfdc1d4997983ea59a8b6924 (patch)
treeb671c08e4a475a8197a10e020be14fa0af81c200
parent692bbfd389ca24b1eb028e278158f97a3b2ab51d (diff)
oops. fix workspace warping merge buglet
-rw-r--r--src/Window.cc2
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 {