Commit b66504f5 authored by Cyril Deguet's avatar Cyril Deguet

* at least it compiles now ;)

parent fbe7f701
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* x11_event.cpp: x11 implementation of the Event class * x11_event.cpp: x11 implementation of the Event class
***************************************************************************** *****************************************************************************
* Copyright (C) 2003 VideoLAN * Copyright (C) 2003 VideoLAN
* $Id: x11_event.cpp,v 1.4 2003/06/22 00:00:28 asmax Exp $ * $Id: x11_event.cpp,v 1.5 2003/06/22 12:54:03 asmax Exp $
* *
* Authors: Cyril Deguet <asmax@videolan.org> * Authors: Cyril Deguet <asmax@videolan.org>
* Emmanuel Puig <karibu@via.ecp.fr> * Emmanuel Puig <karibu@via.ecp.fr>
...@@ -74,8 +74,8 @@ bool X11Event::SendEvent() ...@@ -74,8 +74,8 @@ bool X11Event::SendEvent()
{ {
// Find window matching with Wnd // Find window matching with Wnd
list<SkinWindow *>::const_iterator win; list<SkinWindow *>::const_iterator win;
for( win = SkinWindowList::Instance()->Begin(); for( win = p_intf->p_sys->p_theme->WindowList.begin();
win != SkinWindowList::Instance()->End(); win++ ) win != p_intf->p_sys->p_theme->WindowList.end(); win++ )
{ {
// If it is the correct window // If it is the correct window
if( Wnd == ( (X11Window *)(*win) )->GetHandle() ) if( Wnd == ( (X11Window *)(*win) )->GetHandle() )
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* x11_window.cpp: X11 implementation of the Window class * x11_window.cpp: X11 implementation of the Window class
***************************************************************************** *****************************************************************************
* Copyright (C) 2003 VideoLAN * Copyright (C) 2003 VideoLAN
* $Id: x11_window.cpp,v 1.25 2003/06/22 00:00:28 asmax Exp $ * $Id: x11_window.cpp,v 1.26 2003/06/22 12:54:03 asmax Exp $
* *
* Authors: Cyril Deguet <asmax@videolan.org> * Authors: Cyril Deguet <asmax@videolan.org>
* *
...@@ -274,8 +274,8 @@ bool X11Window::ProcessOSEvent( Event *evt ) ...@@ -274,8 +274,8 @@ bool X11Window::ProcessOSEvent( Event *evt )
case ButtonPress: case ButtonPress:
// Raise all the windows // Raise all the windows
for( list<SkinWindow *>::const_iterator win = for( list<SkinWindow *>::const_iterator win =
SkinWindowList::Instance()->Begin(); p_intf->p_sys->p_theme->WindowList.begin();
win != SkinWindowList::Instance()->End(); win++ ) win != p_intf->p_sys->p_theme->WindowList.end(); win++ )
{ {
XLOCK; XLOCK;
XRaiseWindow( display, ( (X11Window *)(*win) )->GetHandle() ); XRaiseWindow( display, ( (X11Window *)(*win) )->GetHandle() );
...@@ -408,10 +408,6 @@ bool X11Window::ProcessOSEvent( Event *evt ) ...@@ -408,10 +408,6 @@ bool X11Window::ProcessOSEvent( Event *evt )
DropObject->DndDrop( ((XClientMessageEvent*)p2)->data.l ); DropObject->DndDrop( ((XClientMessageEvent*)p2)->data.l );
return true; return true;
} }
else
{
fprintf( stderr, "Unsupported client event %s\n", type );
}
return false; return false;
default: default:
......
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