oops. fix workspace warping merge buglet

This commit is contained in:
Scott Moynes 2002-10-04 03:18:28 +00:00
parent 692bbfd389
commit fa3fb793e7

View file

@ -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 {