changeset 27879:514afc9b920e

Cosmetics for vo_x11 control() to make it more similar to vo_xv.c
author reimar
date Sat, 15 Nov 2008 14:24:32 +0000
parents 8732c47f3d86
children a28ca0971d9a
files libvo/vo_x11.c
diffstat 1 files changed, 6 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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;