Add support for xinelib-1.2, patch is from anixx@opensuse.org

taken from the kde3 OpenSuse repo, package kde3-codeine-1.0.1-52.73.src.rpm
http://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_Tumbleweed/src

Signed-off-by: gregory guy <gregory-tde@laposte.net>
pull/1/head
gregory guy 4 years ago
parent 12b478cefd
commit 88aa431c9d
No known key found for this signature in database
GPG Key ID: 3BCCA0F7AB4536F4

@ -292,7 +292,7 @@ VideoWindow::event( TQEvent *e )
x11Rect.w = 0;
x11Rect.h = 0;
xine_gui_send_vo_data( m_stream, XINE_GUI_SEND_TRANSLATE_GUI_TO_VIDEO, (void*)&x11Rect );
xine_port_send_gui_data( m_videoPort, XINE_GUI_SEND_TRANSLATE_GUI_TO_VIDEO, (void*)&x11Rect );
xineEvent.type = e->type() == TQEvent::MouseMove ? XINE_EVENT_INPUT_MOUSE_MOVE : XINE_EVENT_INPUT_MOUSE_BUTTON;
xineEvent.data = &xineInput;
@ -331,8 +331,8 @@ bool
VideoWindow::x11Event( XEvent *e )
{
if( m_stream && e->type == Expose && e->xexpose.count == 0 ) {
xine_gui_send_vo_data(
m_stream,
xine_port_send_gui_data(
m_videoPort,
XINE_GUI_SEND_EXPOSE_EVENT,
e );

@ -18,7 +18,7 @@
#include <xine.h>
#include "xineEngine.h"
#include "xineScope.h"
#include <unistd.h>
#include <cstdlib>

@ -176,7 +176,7 @@ bool
VideoWindow::x11Event( XEvent *e )
{
if( e->type == Expose && e->xexpose.count == 0 ) {
xine_gui_send_vo_data( m_stream, XINE_GUI_SEND_EXPOSE_EVENT, e );
xine_port_send_gui_data( m_videoPort, XINE_GUI_SEND_EXPOSE_EVENT, e );
return true;
}

Loading…
Cancel
Save