Commit 7b137181 authored by Alberts Muktupāvels's avatar Alberts Muktupāvels
Browse files

tabpopup.c: don't show shadow for outline window

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=536573
parent a6b29b2d
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment