diff src/xterm.c @ 7187:ca0102511d80

(x_wm_set_size_hint): Don't set PMaxSize. Don't touch win_gravity field if no PWinGravity.
author Richard M. Stallman <rms@gnu.org>
date Fri, 29 Apr 1994 04:04:51 +0000
parents c21fcad6f1f5
children 682ff6213c36
line wrap: on
line diff
--- a/src/xterm.c	Fri Apr 29 03:40:16 1994 +0000
+++ b/src/xterm.c	Fri Apr 29 04:04:51 1994 +0000
@@ -5733,7 +5733,8 @@
   Window window = FRAME_X_WINDOW (f);
 #endif /* not USE_X_TOOLKIT */
 
-  size_hints.flags = PResizeInc | PMinSize | PMaxSize;
+  /* Setting PMaxSize caused various problems.  */
+  size_hints.flags = PResizeInc | PMinSize /* | PMaxSize */;
 
   flexlines = f->height;
 
@@ -5805,9 +5806,9 @@
 	size_hints.flags |= USSize;
     }
 
+#if defined (PWinGravity)
   size_hints.win_gravity = f->display.x->win_gravity;
 
-#if defined (PWinGravity)
   if (change_gravity)
     {
       if (! (size_hints.flags & USPosition))