oops. fix workspace warping merge buglet
This commit is contained in:
parent
692bbfd389
commit
fa3fb793e7
1 changed files with 1 additions and 1 deletions
|
@ -3368,7 +3368,7 @@ void BlackboxWindow::doWorkspaceWarping(int x_root, int y_root, int &dx) {
|
||||||
bool focus = flags.focused; // had focus while moving?
|
bool focus = flags.focused; // had focus while moving?
|
||||||
|
|
||||||
int dest_x = x_root;
|
int dest_x = x_root;
|
||||||
if (x_root < 0) {
|
if (x_root <= 0) {
|
||||||
dest_x += screen->getRect().width() - 1;
|
dest_x += screen->getRect().width() - 1;
|
||||||
dx += screen->getRect().width() - 1;
|
dx += screen->getRect().width() - 1;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue