summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Allum <mallum@polystyrene.(none)>2006-08-01 13:39:22 +0100
committerMatthew Allum <mallum@polystyrene.(none)>2006-08-01 13:39:22 +0100
commit39169fd373b97f34923f6494d697d9429d0b8aa3 (patch)
treed7b40fc22024f8beb6b092c1d72ad760412180c9
parentb74c845a1233f78b841ff8840272c50873300c20 (diff)
Back out 'mystery' spurious host window hints.
-rw-r--r--hw/kdrive/ephyr/hostx.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/hw/kdrive/ephyr/hostx.c b/hw/kdrive/ephyr/hostx.c
index 32a46dcf4..d0a2f2f95 100644
--- a/hw/kdrive/ephyr/hostx.c
+++ b/hw/kdrive/ephyr/hostx.c
@@ -533,15 +533,9 @@ hostx_screen_init (int width, int height, int buffer_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);