# HG changeset patch # User Richard M. Stallman # Date 738448460 0 # Node ID c344fe6cca798d581e25519e8802d0c6f40a5388 # Parent efdaaa695ad49f08d7b513b4c3bff37b1c1c9d80 (x_wm_set_size_hint): Don't set hints for max size. diff -r efdaaa695ad4 -r c344fe6cca79 src/xterm.c --- 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;