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

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

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 (),
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),
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