Skip to content
Snippets Groups Projects
Commit d9fe113a authored by K. Michael Fox's avatar K. Michael Fox
Browse files

Add minimum X11 window size hint to juce module gui_basics

parent ced77927
No related branches found
No related tags found
No related merge requests found
......@@ -1637,6 +1637,12 @@ public:
hints->min_height = hints->max_height = hints->height;
hints->flags |= PMinSize | PMaxSize;
}
else
{
hints->min_width = 484;
hints->min_height = 437;
hints->flags |= PMinSize;
}
XSetWMNormalHints (display, windowH, hints);
XFree (hints);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment