[vlc-commits] vout: remove legacy "below" state handling

Rémi Denis-Courmont git at videolan.org
Sun Dec 9 20:45:45 CET 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Dec  8 19:32:57 2018 +0200| [a9ef6e75d340d78b34611261289b54f3363f6d19] | committer: Rémi Denis-Courmont

vout: remove legacy "below" state handling

None of the legacy video outputs support that anyway.

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

 src/video_output/display.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/video_output/display.c b/src/video_output/display.c
index 7f0dfb33be..8b727db08a 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -956,10 +956,8 @@ static vout_display_t *DisplayNew(vout_thread_t *vout,
 
 #if defined(_WIN32) || defined(__OS2__)
     osys->is_fullscreen  = osys->cfg.is_fullscreen;
-    osys->wm_state = var_InheritBool(vout, "video-wallpaper")
-        ? VOUT_WINDOW_STATE_BELOW
-        : var_InheritBool(vout, "video-on-top")
-            ? VOUT_WINDOW_STATE_ABOVE : VOUT_WINDOW_STATE_NORMAL;
+    osys->wm_state = var_InheritBool(vout, "video-on-top")
+                     ? VOUT_WINDOW_STATE_ABOVE : VOUT_WINDOW_STATE_NORMAL;
     osys->ch_wm_state = true;
 #endif
 



More information about the vlc-commits mailing list