aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c
index b8e410f8f30..0faf469c128 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -5733,7 +5733,8 @@ x_wm_set_size_hint (f, prompting, change_gravity)
5733 Window window = FRAME_X_WINDOW (f); 5733 Window window = FRAME_X_WINDOW (f);
5734#endif /* not USE_X_TOOLKIT */ 5734#endif /* not USE_X_TOOLKIT */
5735 5735
5736 size_hints.flags = PResizeInc | PMinSize | PMaxSize; 5736 /* Setting PMaxSize caused various problems. */
5737 size_hints.flags = PResizeInc | PMinSize /* | PMaxSize */;
5737 5738
5738 flexlines = f->height; 5739 flexlines = f->height;
5739 5740
@@ -5805,9 +5806,9 @@ x_wm_set_size_hint (f, prompting, change_gravity)
5805 size_hints.flags |= USSize; 5806 size_hints.flags |= USSize;
5806 } 5807 }
5807 5808
5809#if defined (PWinGravity)
5808 size_hints.win_gravity = f->display.x->win_gravity; 5810 size_hints.win_gravity = f->display.x->win_gravity;
5809 5811
5810#if defined (PWinGravity)
5811 if (change_gravity) 5812 if (change_gravity)
5812 { 5813 {
5813 if (! (size_hints.flags & USPosition)) 5814 if (! (size_hints.flags & USPosition))