summaryrefslogtreecommitdiff
path: root/hw/kdrive/ephyr/hostx.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/kdrive/ephyr/hostx.c')
-rw-r--r--hw/kdrive/ephyr/hostx.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/kdrive/ephyr/hostx.c b/hw/kdrive/ephyr/hostx.c
index 3f38b4512..ca04c8bea 100644
--- a/hw/kdrive/ephyr/hostx.c
+++ b/hw/kdrive/ephyr/hostx.c
@@ -521,9 +521,15 @@ hostx_screen_init (int width, int height)
/* Ask the WM to keep our size static */
size_hints = XAllocSizeHints();
+#if 0
size_hints->max_width = size_hints->min_width = width;
size_hints->max_height = size_hints->min_height = height;
size_hints->flags = PMinSize|PMaxSize;
+#else
+ size_hints->min_width = 100;
+ size_hints->min_height = 100;
+ size_hints->flags = PMinSize;
+#endif
XSetWMNormalHints(HostX.dpy, HostX.win, size_hints);
XFree(size_hints);