summaryrefslogtreecommitdiffstats
path: root/video/out/x11_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/x11_common.c')
-rw-r--r--video/out/x11_common.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c
index 8c51329a13..868d0a1463 100644
--- a/video/out/x11_common.c
+++ b/video/out/x11_common.c
@@ -1801,19 +1801,15 @@ int vo_x11_control(struct vo *vo, int *events, int request, void *arg)
x11->pending_vo_events = 0;
return VO_TRUE;
case VOCTRL_FULLSCREEN:
- opts->fullscreen = !opts->fullscreen;
vo_x11_fullscreen(vo);
return VO_TRUE;
case VOCTRL_ONTOP:
- opts->ontop = !opts->ontop;
vo_x11_setlayer(vo, opts->ontop);
return VO_TRUE;
case VOCTRL_BORDER:
- opts->border = !opts->border;
vo_x11_decoration(vo, vo->opts->border);
return VO_TRUE;
case VOCTRL_ALL_WORKSPACES: {
- opts->all_workspaces = !opts->all_workspaces;
long params[5] = {0xFFFFFFFF, 1};
if (!opts->all_workspaces) {
x11_get_property_copy(x11, x11->rootwin, XA(x11, _NET_CURRENT_DESKTOP),