[vlc-commits] XCB: remove wall-paper mode legacy hacks
Rémi Denis-Courmont
git at videolan.org
Sun Jan 5 11:22:17 CET 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jan 5 00:07:41 2014 +0200| [871c93cb9a8f26a19dcfeec2bcb63a0d84b0a015] | committer: Rémi Denis-Courmont
XCB: remove wall-paper mode legacy hacks
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=871c93cb9a8f26a19dcfeec2bcb63a0d84b0a015
---
modules/video_output/xcb/window.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/modules/video_output/xcb/window.c b/modules/video_output/xcb/window.c
index 07cd030..5717dab 100644
--- a/modules/video_output/xcb/window.c
+++ b/modules/video_output/xcb/window.c
@@ -324,12 +324,6 @@ static int Open (vout_window_t *wnd, const vout_window_cfg_t *cfg)
/* Make the window visible */
xcb_map_window (conn, window);
- if (var_InheritBool (wnd, "video-wallpaper"))
- {
- vout_window_SetState (wnd, VOUT_WINDOW_STATE_BELOW);
- vout_window_SetFullScreen (wnd, true);
- }
-
/* Create the event thread. It will dequeue all events, so any checked
* request from this thread must be completed at this point. */
if ((p_sys->keys != NULL)
@@ -465,8 +459,6 @@ static int Control (vout_window_t *wnd, int cmd, va_list ap)
case VOUT_WINDOW_SET_FULLSCREEN:
{
bool fs = va_arg (ap, int);
- if (!fs && var_GetBool (wnd, "video-wallpaper"))
- return VLC_EGENERIC;
set_wm_state (wnd, fs, p_sys->wm_state_fullscreen);
break;
}
More information about the vlc-commits
mailing list