diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2014-10-03 19:54:29 +0300 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2014-10-04 15:57:25 +0300 |
commit | 7b13718134c32f7bdfa8aebe4fe7d63c25f32240 (patch) | |
tree | d14f2cd6cddbef23176cf7fe9d3a4c8ee91dd09b | |
parent | a6b29b2d2f6a7787c59cfffdc2bed1b5b5b99244 (diff) | |
download | metacity-7b13718134c32f7bdfa8aebe4fe7d63c25f32240.tar.gz |
tabpopup.c: don't show shadow for outline window
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=536573
-rw-r--r-- | src/ui/tabpopup.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/tabpopup.c b/src/ui/tabpopup.c index 99ee63a1..6bd7d1fb 100644 --- a/src/ui/tabpopup.c +++ b/src/ui/tabpopup.c @@ -225,12 +225,14 @@ meta_ui_tab_popup_new (const MetaTabEntry *entries, int max_label_width; /* the actual max width of the labels we create */ AtkObject *obj; GdkScreen *screen; + GdkVisual *visual; int screen_width; popup = g_new (MetaTabPopup, 1); screen = gdk_display_get_screen (gdk_display_get_default (), screen_number); + visual = gdk_screen_get_rgba_visual (screen); if (outline) { @@ -238,6 +240,9 @@ meta_ui_tab_popup_new (const MetaTabEntry *entries, popup->outline_window = gtk_window_new (GTK_WINDOW_POPUP); + if (visual) + gtk_widget_set_visual (popup->outline_window, visual); + gtk_window_set_screen (GTK_WINDOW (popup->outline_window), screen); |