  -(void)unmarkText
  {
    GDK_NOTE (EVENTS, g_print ("unmarkText\n"));
-@@ -724,7 +729,7 @@
-   GdkWindowImplQuartz *impl = GDK_WINDOW_IMPL_QUARTZ (private->impl);
- 
-   [super setFrame: frame];
--  [impl->layer_view setFrame: frame];
-+//  [impl->layer_view setFrame: frame];
- 
-   if ([self window])
-     [self updateTrackingRect];
 diff --git a/gdk/quartz/GdkQuartzView.h b/gdk/quartz/GdkQuartzView.h
 index 2f86de7..04acb62 100644
 --- a/gdk/quartz/GdkQuartzView.h

         type = _gdk_quartz_keys_event_type (nsevent);
         if (type == GDK_NOTHING)
diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c
index 5b9ceef..6bfc096 100644
--- a/gdk/quartz/gdkwindow-quartz.c
+++ b/gdk/quartz/gdkwindow-quartz.c
@@ -889,6 +889,12 @@ get_nsscreen_for_point (gint x, gint y)
   return screen;
 }

+gboolean
+gdk_window_supports_nsview_embedding ()
+{

 static GdkWindow *
 find_toplevel_under_pointer (GdkDisplay *display,
                              NSPoint     screen_point,
@@ -869,34 +900,21 @@ find_window_for_ns_event (NSEvent *nsevent,
               {
                 GdkWindowObject *toplevel_private;
                 GdkWindowImplQuartz *toplevel_impl;
