[metacity] Partially revert 'tabpopup.c: improve'



commit 8584904f50af47864721b7ec58c7ab4d99506a95
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Mon Jun 9 12:46:38 2014 +0300

    Partially revert 'tabpopup.c: improve'

 src/ui/tabpopup.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/src/ui/tabpopup.c b/src/ui/tabpopup.c
index f9fcafd..99ee63a 100644
--- a/src/ui/tabpopup.c
+++ b/src/ui/tabpopup.c
@@ -473,8 +473,15 @@ display_entry (MetaTabPopup *popup,
   if (popup->outline)
     {
       GdkRectangle rect;
+      GdkWindow *window;
       cairo_region_t *region;
 
+      window = gtk_widget_get_window (popup->outline_window);
+
+      /* Do stuff behind gtk's back */
+      gdk_window_hide (window);
+      meta_core_increment_event_serial (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()));
+
       rect = te->rect;
       rect.x = 0;
       rect.y = 0;
@@ -490,6 +497,8 @@ display_entry (MetaTabPopup *popup,
                                        0, 0);
 
       cairo_region_destroy (region);
+
+      gdk_window_show_unraised (window);
     }
 
   /* Must be before we handle an expose for the outline window */


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