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

XCB: remove wall-paper mode legacy hacks

parent 844ff7d9
......@@ -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;
}
......
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