Browse Source
Merge pull request #3773 from AvaloniaUI/x11-popup-no-resized
[X11] Don't trigger Resized event on ConfigureEvent for popups
pull/3800/head
danwalmsley
6 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
|
|
@ -442,7 +442,7 @@ namespace Avalonia.X11 |
|
|
updatedSizeViaScaling = UpdateScaling(); |
|
|
updatedSizeViaScaling = UpdateScaling(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (changedSize && !updatedSizeViaScaling) |
|
|
if (changedSize && !updatedSizeViaScaling && !_popup) |
|
|
Resized?.Invoke(ClientSize); |
|
|
Resized?.Invoke(ClientSize); |
|
|
|
|
|
|
|
|
Dispatcher.UIThread.RunJobs(DispatcherPriority.Layout); |
|
|
Dispatcher.UIThread.RunJobs(DispatcherPriority.Layout); |
|
|
|