mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 02:15:34 +00:00
app: update Window for macOS, X11 and Wayland
Commit #c4f98d3c1eab201419be255fafb139f7e10ad273 added the Minimized and Maximized options for the Windows platform. This change adds those for the remaining desktop platforms. Signed-off-by: Pierre Curto <pierre.curto@gmail.com>
This commit is contained in:
+1
-1
@@ -571,7 +571,7 @@ func (w *window) Configure(options []Option) {
|
||||
}
|
||||
|
||||
// A config event is sent to the main event loop whenever the configuration is changed
|
||||
if oldConfig.Mode != w.config.Mode || oldConfig.Size != w.config.Size {
|
||||
if oldConfig != w.config {
|
||||
w.w.Event(ConfigEvent{Config: w.config})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user