app: [iOS] disable fallback decorations

Before this change, the iOS backend would not report decoration
support at window creation.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2022-03-02 17:54:38 +01:00
parent fea2f888bb
commit b9e8a177f0
+1
View File
@@ -128,6 +128,7 @@ func onCreate(view, controller C.CFTypeRef) {
w.w = wopts.window
w.w.SetDriver(w)
views[view] = w
w.Configure(wopts.options)
w.w.Event(system.StageEvent{Stage: system.StagePaused})
w.w.Event(ViewEvent{ViewController: uintptr(controller)})
}