diff options
| author | Richard M. Stallman | 1993-05-26 20:34:20 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-05-26 20:34:20 +0000 |
| commit | f7f794916dabcc80f77a37380bb04c8aba9c8614 (patch) | |
| tree | ea068cb8fafd8caa47216f5ce1e502e11eb22b66 /src | |
| parent | 15ab234bf9d52ebf509c12d15bcd2c736d9af4c9 (diff) | |
| download | emacs-f7f794916dabcc80f77a37380bb04c8aba9c8614.tar.gz emacs-f7f794916dabcc80f77a37380bb04c8aba9c8614.zip | |
(x_wm_set_size_hint): Don't set hints for max size.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c index 6959d904e4c..7c6fee06912 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -4493,7 +4493,7 @@ x_wm_set_size_hint (f, prompting) | |||
| 4493 | XSizeHints size_hints; | 4493 | XSizeHints size_hints; |
| 4494 | Window window = FRAME_X_WINDOW (f); | 4494 | Window window = FRAME_X_WINDOW (f); |
| 4495 | 4495 | ||
| 4496 | size_hints.flags = PResizeInc | PMinSize | PMaxSize; | 4496 | size_hints.flags = PResizeInc | PMinSize /* | PMaxSize */; |
| 4497 | 4497 | ||
| 4498 | flexlines = f->height; | 4498 | flexlines = f->height; |
| 4499 | 4499 | ||
| @@ -4503,9 +4503,10 @@ x_wm_set_size_hint (f, prompting) | |||
| 4503 | size_hints.width = PIXEL_WIDTH (f); | 4503 | size_hints.width = PIXEL_WIDTH (f); |
| 4504 | size_hints.width_inc = FONT_WIDTH (f->display.x->font); | 4504 | size_hints.width_inc = FONT_WIDTH (f->display.x->font); |
| 4505 | size_hints.height_inc = FONT_HEIGHT (f->display.x->font); | 4505 | size_hints.height_inc = FONT_HEIGHT (f->display.x->font); |
| 4506 | #if 0 | ||
| 4506 | size_hints.max_width = x_screen_width - CHAR_TO_PIXEL_WIDTH (f, 0); | 4507 | size_hints.max_width = x_screen_width - CHAR_TO_PIXEL_WIDTH (f, 0); |
| 4507 | size_hints.max_height = x_screen_height - CHAR_TO_PIXEL_HEIGHT (f, 0); | 4508 | size_hints.max_height = x_screen_height - CHAR_TO_PIXEL_HEIGHT (f, 0); |
| 4508 | 4509 | #endif | |
| 4509 | { | 4510 | { |
| 4510 | int base_width, base_height; | 4511 | int base_width, base_height; |
| 4511 | 4512 | ||