Skip to content

Commit

Permalink
XCB: remove wall-paper mode legacy hacks
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémi Denis-Courmont committed Jan 5, 2014
1 parent 844ff7d commit 871c93c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions modules/video_output/xcb/window.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 871c93c

Please sign in to comment.