[gtk+/wip/matthiasc/drop-root-window: 7/7] Drop the shape window example in testgtk for now



commit ab08566844bdf4304b70cc066bd995510b0bb51f
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Aug 8 21:05:19 2017 -0400

    Drop the shape window example in testgtk for now
    
    Not sure this can be rescued without root window coordinates.
    It is also somewhat inherently X11-specific.

 tests/testgtk.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 2843d84..2d1c154 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -5702,7 +5702,7 @@ create_paned_keyboard_navigation (GtkWidget *widget)
     gtk_widget_show (GTK_WIDGET (window4));
 }
 
-
+#if 0
 /*
  * Shaped Windows
  */
@@ -5925,6 +5925,7 @@ create_shapes (GtkWidget *widget)
   else
     gtk_widget_destroy (with_region);
 }
+#endif
 
 /*
  * WM Hints demo
@@ -8300,7 +8301,9 @@ struct {
   { "rotated text", create_rotated_text },
   { "saved position", create_saved_position },
   { "scrolled windows", create_scrolled_windows },
+#if 0
   { "shapes", create_shapes },
+#endif
   { "size groups", create_size_groups },
   { "snapshot", create_snapshot },
   { "spinbutton", create_spins },


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