mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 00:10:05 +01:00
Back out 'mystery' spurious host window hints.
This commit is contained in:
parent
b74c845a12
commit
39169fd373
1 changed files with 0 additions and 6 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue