X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fskins%2Fgtk2%2Fgtk2_theme.cpp;h=8962e9d11d75264a4b3d5e8638599204048386f9;hb=380d793ad9320536d929eaff3474f13b1ed418ec;hp=37c54ceb3448e741590b84095c954de3e88cd369;hpb=3fd83d6ac77b6961adddc292a412999b38c148f3;p=vlc diff --git a/modules/gui/skins/gtk2/gtk2_theme.cpp b/modules/gui/skins/gtk2/gtk2_theme.cpp index 37c54ceb34..8962e9d11d 100644 --- a/modules/gui/skins/gtk2/gtk2_theme.cpp +++ b/modules/gui/skins/gtk2/gtk2_theme.cpp @@ -2,7 +2,7 @@ * gtk2_theme.cpp: GTK2 implementation of the Theme class ***************************************************************************** * Copyright (C) 2003 VideoLAN - * $Id: gtk2_theme.cpp,v 1.18 2003/04/19 11:16:17 asmax Exp $ + * $Id: gtk2_theme.cpp,v 1.19 2003/04/20 16:16:34 asmax Exp $ * * Authors: Cyril Deguet * @@ -248,7 +248,7 @@ void GTK2Theme::AddWindow( string name, int x, int y, bool visible, attr.height = 0; attr.window_type = GDK_WINDOW_TOPLEVEL; attr.wclass = GDK_INPUT_OUTPUT; - attr.override_redirect = TRUE; + attr.override_redirect = FALSE; gint mask = GDK_WA_NOREDIR; @@ -260,6 +260,8 @@ void GTK2Theme::AddWindow( string name, int x, int y, bool visible, return; } + gdk_window_set_decorations( gwnd, (GdkWMDecoration)0 ); + gdk_window_show( gwnd ); WindowList.push_back( (Window *)new OSWindow( p_intf, gwnd, x, y, visible,