File noinc.diff of Package rxvt-unicode
--- rxvt-unicode-9.21.orig/src/main.C
+++ rxvt-unicode-9.21/src/main.C
@@ -656,7 +656,7 @@ rxvt_term::window_calc (unsigned int new
unsigned int w, h;
unsigned int max_width, max_height;
- szHint.flags = PMinSize | PResizeInc | PBaseSize | PWinGravity;
+ szHint.flags = PMinSize | PWinGravity;
szHint.win_gravity = NorthWestGravity;
/* szHint.min_aspect.x = szHint.min_aspect.y = 1; */
@@ -771,6 +771,8 @@ rxvt_term::window_calc (unsigned int new
ncol = width / fwidth;
nrow = height / fheight;
+ width = ncol * fwidth;
+ height = nrow * fheight;
// When the size of the vt window is not a multiple of the cell
// size, i.e., when the wm does not honour our size hints, there are
@@ -1067,14 +1069,6 @@ rxvt_term::resize_all_windows (unsigned
bool set_hint = !HOOK_INVOKE ((this, HOOK_RESIZE_ALL_WINDOWS, DT_INT, newwidth, DT_INT, newheight, DT_END));
- // to avoid races between us and the wm, we clear the incremental size hints around the xresizewindow
- if (set_hint)
- {
- szHint.flags &= ~(PBaseSize | PResizeInc);
- XSetWMNormalHints (dpy, parent, &szHint);
- szHint.flags |= PBaseSize | PResizeInc;
- }
-
if (!ignoreparent)
{
#ifdef SMART_RESIZE