Merge pull request #9088 from dif-sam/patch-1
Update flags for XSetWMNormalHints
This commit is contained in:
@@ -302,7 +302,7 @@ namespace Avalonia.X11
|
|||||||
min_height = min.Height
|
min_height = min.Height
|
||||||
};
|
};
|
||||||
hints.height_inc = hints.width_inc = 1;
|
hints.height_inc = hints.width_inc = 1;
|
||||||
var flags = XSizeHintsFlags.PMinSize | XSizeHintsFlags.PResizeInc;
|
var flags = XSizeHintsFlags.PMinSize | XSizeHintsFlags.PResizeInc | XSizeHintsFlags.PPosition | XSizeHintsFlags.PSize;
|
||||||
// People might be passing double.MaxValue
|
// People might be passing double.MaxValue
|
||||||
if (max.Width < 100000 && max.Height < 100000)
|
if (max.Width < 100000 && max.Height < 100000)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user