[vlc-commits] msw: remove nul constant

Rémi Denis-Courmont git at videolan.org
Thu Oct 16 19:25:57 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Oct  9 22:52:44 2014 +0300| [e260f543420f768a5a88486f0920ba19cff944bb] | committer: Rémi Denis-Courmont

msw: remove nul constant

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e260f543420f768a5a88486f0920ba19cff944bb
---

 modules/video_output/msw/events.c |    8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/modules/video_output/msw/events.c b/modules/video_output/msw/events.c
index 19bd661..45e237d 100644
--- a/modules/video_output/msw/events.c
+++ b/modules/video_output/msw/events.c
@@ -674,7 +674,7 @@ static int Win32VoutCreateWindow( event_thread_t *p_event )
     RECT       rect_window;
     WNDCLASS   wc;                            /* window class components */
     TCHAR      vlc_path[MAX_PATH+1];
-    int        i_style, i_stylex;
+    int        i_style;
 
     msg_Dbg( vd, "Win32VoutCreateWindow" );
 
@@ -762,21 +762,17 @@ static int Win32VoutCreateWindow( event_thread_t *p_event )
         /* Open with window decoration */
         AdjustWindowRect( &rect_window, WS_OVERLAPPEDWINDOW|WS_SIZEBOX, 0 );
         i_style = WS_OVERLAPPEDWINDOW|WS_SIZEBOX|WS_VISIBLE|WS_CLIPCHILDREN;
-        i_stylex = 0;
     }
     else
     {
         /* No window decoration */
         AdjustWindowRect( &rect_window, WS_POPUP, 0 );
         i_style = WS_POPUP|WS_VISIBLE|WS_CLIPCHILDREN;
-        i_stylex = 0; // WS_EX_TOOLWINDOW; Is TOOLWINDOW really needed ?
-                      // It messes up the fullscreen window.
     }
 
     if( p_event->hparent )
     {
         i_style = WS_VISIBLE|WS_CLIPCHILDREN|WS_CHILD;
-        i_stylex = 0;
 
         /* allow user to regain control over input events if requested */
         bool b_mouse_support = var_InheritBool( vd, "mouse-events" );
@@ -789,7 +785,7 @@ static int Win32VoutCreateWindow( event_thread_t *p_event )
 
     /* Create the window */
     p_event->hwnd =
-        CreateWindowEx( WS_EX_NOPARENTNOTIFY | i_stylex,
+        CreateWindowEx( WS_EX_NOPARENTNOTIFY,
                     p_event->class_main,             /* name of window class */
                     _T(VOUT_TITLE) _T(" (VLC Video Output)"),/* window title */
                     i_style,                                 /* window style */



More information about the vlc-commits mailing list