Commit 119b0c3a authored by Cyril Deguet's avatar Cyril Deguet

* it works event better !!

parent 5a89c8a8
......@@ -2,7 +2,7 @@
* gtk2_theme.cpp: GTK2 implementation of the Theme class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: gtk2_theme.cpp,v 1.8 2003/04/14 20:07:49 asmax Exp $
* $Id: gtk2_theme.cpp,v 1.9 2003/04/14 20:17:33 asmax Exp $
*
* Authors: Cyril Deguet <asmax@videolan.org>
*
......@@ -324,8 +324,9 @@ 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;
gint mask =0;
gint mask = GDK_WA_NOREDIR;
// Create the window
GdkWindow *gwnd = gdk_window_new( NULL, &attr, mask );
......
......@@ -2,7 +2,7 @@
* gtk2_window.cpp: GTK2 implementation of the Window class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: gtk2_window.cpp,v 1.7 2003/04/14 20:07:49 asmax Exp $
* $Id: gtk2_window.cpp,v 1.8 2003/04/14 20:17:33 asmax Exp $
*
* Authors: Cyril Deguet <asmax@videolan.org>
*
......@@ -268,11 +268,9 @@ void GTK2Window::WindowManualMoveInit()
//---------------------------------------------------------------------------
void GTK2Window::Move( int left, int top )
{
/* Left = left;
Left = left;
Top = top;
//SetWindowPos( hWnd, HWND_TOP, Left, Top, Width, Height,
// SWP_NOSIZE|SWP_NOREDRAW|SWP_NOZORDER );
MoveWindow( hWnd, Left, Top, Width, Height, false );*/
gdk_window_move( gWnd, left, top );
}
//---------------------------------------------------------------------------
void GTK2Window::Size( int width, int height )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment