From 1d44aa0b8c81ca656b33610feeda0a231b614bbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Karlas=CC=8C?= Date: Thu, 24 Sep 2015 14:40:03 +0200 Subject: [PATCH] Issue #158: Text input is broken on MacOS X --- src/Gtk/Perspex.Gtk/WindowImpl.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Gtk/Perspex.Gtk/WindowImpl.cs b/src/Gtk/Perspex.Gtk/WindowImpl.cs index a844a3a5dd..debfb57397 100644 --- a/src/Gtk/Perspex.Gtk/WindowImpl.cs +++ b/src/Gtk/Perspex.Gtk/WindowImpl.cs @@ -51,6 +51,12 @@ namespace Perspex.Gtk _imContext.Commit += ImContext_Commit; } + protected override void OnRealized () + { + base.OnRealized (); + _imContext.ClientWindow = this.GdkWindow; + } + public Size ClientSize { get;