updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / rxvt-unicode-cvs / noinc.patch
blobd561a6bd7cbc90de6da683b42ebf3f4f56066278
1 --- src/main.C.old 2011-08-21 23:13:58.000000000 +0300
2 +++ src/main.C 2011-12-04 18:03:21.336808060 +0200
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 @@ -1009,14 +1009,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