mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user