Browse Source
Merge pull request #9088 from dif-sam/patch-1
Update flags for XSetWMNormalHints
pull/9091/head
Nikita Tsukanov
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.X11/X11Window.cs
|
|
@ -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) |
|
|
{ |
|
|
{ |
|
|
|