changeset 4777:21ed9c9bb210

(w_wn_set_size_hint): Make recent window gravity addition depend on "PWinGravity" begin `#defined'.
author Brian Fox <bfox@gnu.org>
date Wed, 22 Sep 1993 18:16:37 +0000
parents fdca0d445357
children 76f267188bbd
files src/xterm.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Wed Sep 22 18:14:10 1993 +0000
+++ b/src/xterm.c	Wed Sep 22 18:16:37 1993 +0000
@@ -4736,7 +4736,7 @@
       if (hints.flags & USSize)
 	size_hints.flags |= USSize;
     }
-
+#if defined (PWinGravity)
   switch (((spec_x < 0) << 1) + (spec_y < 0))
     {
     case 0:
@@ -4753,6 +4753,7 @@
       break;
     }
   size_hints.flags |= PWinGravity;
+#endif /* PWinGravity */
 
 #ifdef HAVE_X11R4
   XSetWMNormalHints (x_current_display, window, &size_hints);