diff options
Diffstat (limited to 'libvo/vo_x11.c')
-rw-r--r-- | libvo/vo_x11.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c index e07b947986..fab0f6c2e1 100644 --- a/libvo/vo_x11.c +++ b/libvo/vo_x11.c @@ -761,10 +761,14 @@ static int control(uint32_t request, void *data, ...) return int_pause = 0; case VOCTRL_QUERY_FORMAT: return query_format(*((uint32_t *) data)); - case VOCTRL_GUISUPPORT: - return VO_TRUE; case VOCTRL_GET_IMAGE: return get_image(data); + case VOCTRL_GUISUPPORT: + return VO_TRUE; + case VOCTRL_FULLSCREEN: + vo_x11_fullscreen(); + vo_x11_clearwindow(mDisplay, vo_window); + return VO_TRUE; case VOCTRL_SET_EQUALIZER: { va_list ap; @@ -790,12 +794,6 @@ static int control(uint32_t request, void *data, ...) case VOCTRL_ONTOP: vo_x11_ontop(); return VO_TRUE; - case VOCTRL_FULLSCREEN: - { - vo_x11_fullscreen(); - vo_x11_clearwindow(mDisplay, vo_window); - } - return VO_TRUE; case VOCTRL_UPDATE_SCREENINFO: update_xinerama_info(); return VO_TRUE; |