]> git.eshelyaron.com Git - emacs.git/commitdiff
(w_wn_set_size_hint): Make recent window gravity addition
authorBrian Fox <bfox@gnu.org>
Wed, 22 Sep 1993 18:16:37 +0000 (18:16 +0000)
committerBrian Fox <bfox@gnu.org>
Wed, 22 Sep 1993 18:16:37 +0000 (18:16 +0000)
depend on "PWinGravity" begin `#defined'.

src/xterm.c

index 2cea43a0936674800cd5cb8461677560ab2273b5..2fa3139c558e71ef8a5a6c13ea7b95b7d8c517b0 100644 (file)
@@ -4736,7 +4736,7 @@ x_wm_set_size_hint (f, prompting, spec_x, spec_y)
       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 @@ x_wm_set_size_hint (f, prompting, spec_x, spec_y)
       break;
     }
   size_hints.flags |= PWinGravity;
+#endif /* PWinGravity */
 
 #ifdef HAVE_X11R4
   XSetWMNormalHints (x_current_display, window, &size_hints);