changeset 3135:c344fe6cca79

(x_wm_set_size_hint): Don't set hints for max size.
author Richard M. Stallman <rms@gnu.org>
date Wed, 26 May 1993 20:34:20 +0000
parents efdaaa695ad4
children 76c8b5e00948
files src/xterm.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Wed May 26 20:33:32 1993 +0000
+++ b/src/xterm.c	Wed May 26 20:34:20 1993 +0000
@@ -4493,7 +4493,7 @@
   XSizeHints size_hints;
   Window window = FRAME_X_WINDOW (f);
 
-  size_hints.flags = PResizeInc | PMinSize | PMaxSize;
+  size_hints.flags = PResizeInc | PMinSize /* | PMaxSize */;
 
   flexlines = f->height;
 
@@ -4503,9 +4503,10 @@
   size_hints.width = PIXEL_WIDTH (f);
   size_hints.width_inc = FONT_WIDTH (f->display.x->font);
   size_hints.height_inc = FONT_HEIGHT (f->display.x->font);
+#if 0
   size_hints.max_width = x_screen_width - CHAR_TO_PIXEL_WIDTH (f, 0);
   size_hints.max_height = x_screen_height - CHAR_TO_PIXEL_HEIGHT (f, 0);
-    
+#endif    
   {
     int base_width, base_height;