projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
551a17d
)
change how the pointer is moved.. try make this more consistant when warping at high...
author
Dana Jansens
<danakj@orodu.net>
Tue, 20 Aug 2002 18:43:29 +0000
(18:43 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 20 Aug 2002 18:43:29 +0000
(18:43 +0000)
src/Window.cc
patch
|
blob
|
history
diff --git
a/src/Window.cc
b/src/Window.cc
index
b73af2b
..
d71f450
100644
(file)
--- a/
src/Window.cc
+++ b/
src/Window.cc
@@
-3115,12
+3115,12
@@
void BlackboxWindow::doWorkspaceWarping(int x_root, int y_root,
if (focus)
setInputFocus();
- int dest_x;
+ int dest_x
= x_root
;
if (x_root <= 0) {
- dest_x
= screen->getRect().right
() - 1;
+ dest_x
+= screen->getRect().width
() - 1;
dx += screen->getRect().width() - 1;
} else {
- dest_x
= 0
;
+ dest_x
-= screen->getRect().width() - 1
;
dx -= screen->getRect().width() - 1;
}