# HG changeset patch # User reimar # Date 1226759072 0 # Node ID 514afc9b920e5d16064425d5bc387c302684e0b8 # Parent 8732c47f3d86ac1249ba4b1e0f76b2afcb4c528c Cosmetics for vo_x11 control() to make it more similar to vo_xv.c diff -r 8732c47f3d86 -r 514afc9b920e libvo/vo_x11.c --- a/libvo/vo_x11.c Sat Nov 15 14:21:02 2008 +0000 +++ b/libvo/vo_x11.c Sat Nov 15 14:24:32 2008 +0000 @@ -761,10 +761,14 @@ return int_pause = 0; case VOCTRL_QUERY_FORMAT: return query_format(*((uint32_t *) data)); + case VOCTRL_GET_IMAGE: + return get_image(data); case VOCTRL_GUISUPPORT: return VO_TRUE; - case VOCTRL_GET_IMAGE: - return get_image(data); + 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 @@ 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;