diff options
Diffstat (limited to 'src/add_window.c')
-rw-r--r-- | src/add_window.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/add_window.c b/src/add_window.c index 87cb51b..8af8f73 100644 --- a/src/add_window.c +++ b/src/add_window.c @@ -163,6 +163,7 @@ AddWindow(Window w, int iconm, IconMgr *iconp) Bool height_ever_changed_by_user; char *name; int dummy = 0; + unsigned udummy = 0; Window wdummy = None; #ifdef DEBUG @@ -571,7 +572,7 @@ AddWindow(Window w, int iconm, IconMgr *iconp) XQueryPointer(dpy, Scr->Root, &wdummy, &wdummy, &dummy, &dummy, &AddingX, &AddingY, - &JunkMask); + &udummy); if (Scr->DontMoveOff) { int AddingR, AddingB; @@ -666,7 +667,7 @@ AddWindow(Window w, int iconm, IconMgr *iconp) */ XQueryPointer(dpy, Scr->Root, &wdummy, &wdummy, &dummy, &dummy, &AddingX, &AddingY, - &JunkMask); + &udummy); if (lastx != AddingX || lasty != AddingY) { DoResize(AddingX, AddingY, tmp_win); @@ -768,7 +769,7 @@ AddWindow(Window w, int iconm, IconMgr *iconp) * gotten one for anything up to here, however. */ if (XGetGeometry(dpy, tmp_win->w, &wdummy, &dummy, &dummy, - &JunkWidth, &JunkHeight, &JunkBW, &JunkDepth) == 0) { + &udummy, &udummy, &udummy, &udummy) == 0) { free(tmp_win); XUngrabServer(dpy); return (NULL); |