diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2014-06-09 12:46:38 +0300 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2014-06-09 12:46:38 +0300 |
commit | 8584904f50af47864721b7ec58c7ab4d99506a95 (patch) | |
tree | 5bfcc2613fb220d84ca25be065b65f3ad8600487 /src | |
parent | 6070c67543ab8a2f3e92663a04f1697289b295ba (diff) | |
download | metacity-8584904f50af47864721b7ec58c7ab4d99506a95.tar.gz |
Partially revert 'tabpopup.c: improve'
Diffstat (limited to 'src')
-rw-r--r-- | 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 f9fcafdf..99ee63a1 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 */ |