Commit ec945c26 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt4: do not implement below state

parent 76e8da0f
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
#include <vlc_keys.h> /* Wheel event */ #include <vlc_keys.h> /* Wheel event */
#include <vlc_vout_window.h> #include <vlc_vout_window.h>
#include <vlc_vout.h> #include <vlc_vout_display.h>
// #define DEBUG_INTF // #define DEBUG_INTF
/* Callback prototypes */ /* Callback prototypes */
...@@ -894,8 +894,9 @@ int MainInterface::controlVideo( int i_query, va_list args ) ...@@ -894,8 +894,9 @@ int MainInterface::controlVideo( int i_query, va_list args )
} }
case VOUT_WINDOW_SET_STATE: case VOUT_WINDOW_SET_STATE:
{ {
int i_arg = va_arg( args, int ); unsigned i_arg = va_arg( args, unsigned );
QApplication::postEvent( this, new SetVideoOnTopQtEvent( i_arg ) ); unsigned on_top = i_arg & VOUT_WINDOW_STATE_ABOVE;
QApplication::postEvent( this, new SetVideoOnTopQtEvent( on_top ) );
return VLC_SUCCESS; return VLC_SUCCESS;
} }
case VOUT_WINDOW_SET_FULLSCREEN: case VOUT_WINDOW_SET_FULLSCREEN:
......
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