Mercurial > audlegacy
diff src/audacious/ui_vis.c @ 3052:b1b48ea20c16
Hooray, fix BadMatches
| author | Tomasz Mon <desowin@gmail.com> |
|---|---|
| date | Thu, 12 Jul 2007 21:10:16 +0200 |
| parents | e9e925c3adb5 |
| children | 766a0fd12f7d |
line wrap: on
line diff
--- a/src/audacious/ui_vis.c Thu Jul 12 16:40:37 2007 +0200 +++ b/src/audacious/ui_vis.c Thu Jul 12 21:10:16 2007 +0200 @@ -166,17 +166,22 @@ attributes.wclass = GDK_INPUT_OUTPUT; attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL | GDK_WA_COLORMAP; widget->window = gdk_window_new(widget->parent->window, &attributes, attributes_mask); + GTK_WIDGET_UNSET_FLAGS(widget, GTK_NO_WINDOW); } else { attributes.wclass = GDK_INPUT_ONLY; attributes_mask = GDK_WA_X | GDK_WA_Y; widget->window = gdk_window_new (widget->parent->window, &attributes, attributes_mask); + GTK_WIDGET_SET_FLAGS (widget, GTK_NO_WINDOW); } widget->style = gtk_style_attach(widget->style, widget->window); gdk_window_set_user_data(widget->window, widget); + + if (attributes.wclass == GDK_INPUT_ONLY) + gdk_window_show (widget->window); } static void ui_vis_unrealize(GtkWidget *widget) {
