* x11_window.cpp: X11 implementation of the Window class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
- * $Id: x11_window.cpp,v 1.16 2003/06/08 18:17:50 asmax Exp $
+ * $Id: x11_window.cpp,v 1.17 2003/06/08 18:40:10 gbazin Exp $
*
* Authors: Cyril Deguet <asmax@videolan.org>
*
//---------------------------------------------------------------------------
void X11Window::OSShow( bool show )
{
+ XResizeWindow( display, Wnd, 1, 1 ); // Avoid flicker
+
if( show )
{
// We do the call to XShapeCombineRegion() here because the window
}
XMapWindow( display, Wnd );
- XMoveWindow( display, Wnd, Left, Top );
+ XMoveResizeWindow( display, Wnd, Left, Top, Width, Height );
XUNLOCK;
}
else
</ControlGroup>\r
</Window>\r
\r
- <Window id="PlaylistWindow" x="200" y="205" alpha="255" fadetime="500" movealpha="192">\r
+ <Window id="PlaylistWindow" x="200" y="205" visible="false" alpha="255" fadetime="500" movealpha="192">\r
<ControlGroup x="0" y="0">\r
<Anchor x="0" y="0" priority="50"/>\r
<ImageControl x="0" y="0" image="playlist_body" onclick="MovePlaylist"/>\r