From: Gildas Bazin Date: Sat, 7 Jun 2003 10:18:15 +0000 (+0000) Subject: * modules/gui/skins/x11/x11_theme.cpp: removed unnecessary stuff. X-Git-Tag: 0.6.0~125 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=77a466e364004e5d5f20ed1ab9f17a9e6094ad4f;p=vlc * modules/gui/skins/x11/x11_theme.cpp: removed unnecessary stuff. --- diff --git a/modules/gui/skins/x11/x11_theme.cpp b/modules/gui/skins/x11/x11_theme.cpp index 65fbba94b2..0365e33c5b 100644 --- a/modules/gui/skins/x11/x11_theme.cpp +++ b/modules/gui/skins/x11/x11_theme.cpp @@ -2,7 +2,7 @@ * x11_theme.cpp: X11 implementation of the Theme class ***************************************************************************** * Copyright (C) 2003 VideoLAN - * $Id: x11_theme.cpp,v 1.9 2003/06/01 22:11:24 asmax Exp $ + * $Id: x11_theme.cpp,v 1.10 2003/06/07 10:18:15 gbazin Exp $ * * Authors: Cyril Deguet * @@ -142,7 +142,7 @@ void X11Theme::AddWindow( string name, int x, int y, bool visible, } motifWmHints; Atom hints_atom = XInternAtom( display, "_MOTIF_WM_HINTS", False ); - + motifWmHints.flags = 2; // MWM_HINTS_DECORATIONS; motifWmHints.decorations = 0; XLOCK; @@ -152,15 +152,6 @@ void X11Theme::AddWindow( string name, int x, int y, bool visible, // Change the window title XStoreName( display, wnd, name.c_str() ); - - // Display the window - XMapRaised( display, wnd ); - - XEvent evt; - do - { - XNextEvent( display, &evt ); - } while( evt.type != MapNotify ); XUNLOCK; WindowList.push_back( (SkinWindow *)new OSWindow( p_intf, wnd, x, y,