[aisleriot] board: Make the moving cards window native



commit 559f64c6aefb47c4435217f15c2da0a83dcdd5fb
Author: Christian Persch <chpe gnome org>
Date:   Mon Nov 4 18:01:33 2013 +0100

    board: Make the moving cards window native
    
    Forcing the moving cards subwindow to be native works around the window
    being invisible due to the gtk drawing changes.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=702951

 src/board-noclutter.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/board-noclutter.c b/src/board-noclutter.c
index b44507c..189cba5 100644
--- a/src/board-noclutter.c
+++ b/src/board-noclutter.c
@@ -894,6 +894,7 @@ drag_begin (AisleriotBoard *board)
 
   priv->moving_cards_window = gdk_window_new (window, &attributes,
                                               GDK_WA_VISUAL | GDK_WA_X | GDK_WA_Y);
+  gdk_window_ensure_native (priv->moving_cards_window);
 
   surface = gdk_window_create_similar_surface (priv->moving_cards_window, CAIRO_CONTENT_COLOR_ALPHA,
                                                width, height);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]