handle = SDL.CreateWindow(title, bounds.Left + x, bounds.Top + y, width, height, flags);
exists = true;
}
+#if !TIZEN
ProcessEvents();
+#endif
window = new Sdl2WindowInfo(handle, null);
window_id = SDL.GetWindowID(handle);
windows.Add(window_id, this);
public override void Run(string[] args)
{
+ base.Run(args);
+
lock (SDL2.SDL.Sync)
{
SDL2.SDL.AddEventWatch(EventFilterDelegate, IntPtr.Zero);
}
}
- private bool OnCreateNative()
+ private void OnCreateNative()
{
if (Handlers.ContainsKey(EventType.PreCreated))
{
var handler = Handlers[EventType.Created] as Action;
handler?.Invoke();
}
- return true;
}
private unsafe int OnHandleSDLAppEvent(IntPtr data, IntPtr e)