mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-04 09:11:33 +02:00
* modules/gui/skins/x11/x11_theme.cpp: removed unnecessary stuff.
This commit is contained in:
parent
0a2f45b200
commit
77a466e364
@ -2,7 +2,7 @@
|
|||||||
* x11_theme.cpp: X11 implementation of the Theme class
|
* x11_theme.cpp: X11 implementation of the Theme class
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Copyright (C) 2003 VideoLAN
|
* 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 <asmax@videolan.org>
|
* Authors: Cyril Deguet <asmax@videolan.org>
|
||||||
*
|
*
|
||||||
@ -152,15 +152,6 @@ void X11Theme::AddWindow( string name, int x, int y, bool visible,
|
|||||||
|
|
||||||
// Change the window title
|
// Change the window title
|
||||||
XStoreName( display, wnd, name.c_str() );
|
XStoreName( display, wnd, name.c_str() );
|
||||||
|
|
||||||
// Display the window
|
|
||||||
XMapRaised( display, wnd );
|
|
||||||
|
|
||||||
XEvent evt;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
XNextEvent( display, &evt );
|
|
||||||
} while( evt.type != MapNotify );
|
|
||||||
XUNLOCK;
|
XUNLOCK;
|
||||||
|
|
||||||
WindowList.push_back( (SkinWindow *)new OSWindow( p_intf, wnd, x, y,
|
WindowList.push_back( (SkinWindow *)new OSWindow( p_intf, wnd, x, y,
|
||||||
|
Loading…
Reference in New Issue
Block a user