diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-07-16 05:00:09 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-07-16 05:00:09 +0000 |
| commit | daaac0dfe24d92bea54cd5ddee46861a1fe733bd (patch) | |
| tree | 149a31d159eb65be1a3cff592479ebba695da6fc /src/Window.cc | |
| parent | 94d86896b499b75aab5a587a958b2245282d9353 (diff) | |
Click Mouse Placement is BACK!#!#
Diffstat (limited to 'src/Window.cc')
| -rw-r--r-- | src/Window.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc index 23bc9800..90224fe5 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -2542,6 +2542,12 @@ void BlackboxWindow::mapRequestEvent(const XMapRequestEvent *re) { XSync(blackbox->getXDisplay(), False); // make sure the frame is mapped.. setInputFocus(); } + int x, y, rx, ry; + Window c, r; + unsigned int m; + XQueryPointer(screen->getBlackbox()->getXDisplay(), screen->getRootWindow(), + &r, &c, &rx, &ry, &x, &y, &m); + beginMove(rx, ry); break; } } |
