]> git.sesse.net Git - vlc/commitdiff
Win32: return a failure when a CHANGE_DISPLAY_SIZE event is forced
authorFelix Abecassis <felix.abecassis@gmail.com>
Tue, 11 Feb 2014 15:20:06 +0000 (16:20 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 11 Feb 2014 16:03:34 +0000 (17:03 +0100)
See x11.c for rationale.

Close #9273

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/video_output/msw/common.c

index 1174a423d1c8c818f69469bd10d2d410b94d979d..f4954b165e466a97cbd4a4eefe35210ac640ce8e 100644 (file)
@@ -588,6 +588,7 @@ int CommonControl(vout_display_t *vd, int query, va_list args)
                              rect_window.right - rect_window.left,
                              rect_window.bottom - rect_window.top, SWP_NOMOVE);
             }
+            return VLC_EGENERIC;
         }
         UpdateRects(vd, cfg, source, is_forced);
         return VLC_SUCCESS;