updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / rxvt-unicode-no-resizeinc / no-resizeinc.diff
blob18147aa6bb900201a2b18326b29030907b6b5e46
1 --- src/main.C 2011-11-05 23:43:38.711635914 +0400
2 +++ src/main.C 2011-11-13 21:25:09.032997953 +0400
3 @@ -593,7 +593,7 @@
4 unsigned int w, h;
5 unsigned int max_width, max_height;
7 - szHint.flags = PMinSize | PResizeInc | PBaseSize | PWinGravity;
8 + szHint.flags = PMinSize | PWinGravity;
9 szHint.win_gravity = NorthWestGravity;
10 /* szHint.min_aspect.x = szHint.min_aspect.y = 1; */
12 @@ -1000,14 +1000,6 @@
14 bool set_hint = !HOOK_INVOKE ((this, HOOK_RESIZE_ALL_WINDOWS, DT_INT, newwidth, DT_INT, newheight, DT_END));
16 - // to avoid races between us and the wm, we clear the incremental size hints around the xresizewindow
17 - if (set_hint)
18 - {
19 - szHint.flags &= ~(PBaseSize | PResizeInc);
20 - XSetWMNormalHints (dpy, parent, &szHint);
21 - szHint.flags |= PBaseSize | PResizeInc;
22 - }
24 if (!ignoreparent)
26 #ifdef SMART_RESIZE