Index: events.c =================================================================== RCS file: /cvsroot/ratpoison/ratpoison/src/events.c,v retrieving revision 1.77 diff -u -r1.77 events.c --- events.c 14 Feb 2002 11:11:33 -0000 1.77 +++ events.c 16 Feb 2002 04:25:45 -0000 @@ -241,8 +241,8 @@ know the real size of the window to increment properly. So, update the structure before calling maximize. */ - PRINT_DEBUG ("Notify geom: x=%d y=%d width=%d height=%d\n", e->x, e->y, e->width, e->height); - PRINT_DEBUG ("Current geom: x=%d y=%d width=%d height=%d\n", win->x, win->y, win->width, win->height); + PRINT_DEBUG ("Notify geom: x=%d y=%d width=%d height=%d border %d\n", e->x, e->y, e->width, e->height, e->border_width); + PRINT_DEBUG ("Current geom: x=%d y=%d width=%d height=%d border %d\n", win->x, win->y, win->width, win->height, win->border); win->x = e->x; win->y = e->y; @@ -342,7 +342,9 @@ change if the window is not mapped. */ if (win->state != NormalState) XSelectInput (dpy, win->w, WIN_EVENTS&~(StructureNotifyMask)); - XConfigureWindow (dpy, win->w, + + if (win->hints->flags & PResizeInc || win->state != NormalState) + XConfigureWindow (dpy, win->w, e->value_mask & (CWX|CWY|CWBorderWidth|CWWidth|CWHeight), &changes); if (win->state != NormalState) @@ -364,7 +366,7 @@ { rp_window *win; - PRINT_DEBUG ("WM_CHANGE_STATE\n") + PRINT_DEBUG ("WM_CHANGE_STATE\n"); win = find_window (ev->window); if (win == NULL) return; @@ -628,7 +630,7 @@ break; default: - PRINT_DEBUG ("Unhandled property notify event\n"); + PRINT_DEBUG ("Unhandled property notify event %s\n", XGetAtomName(dpy, ev->xproperty.atom)); break; } }