summaryrefslogtreecommitdiffstats
path: root/libvo/vo_x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_x11.c')
-rw-r--r--libvo/vo_x11.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c
index 1fe561f368..f541e0120a 100644
--- a/libvo/vo_x11.c
+++ b/libvo/vo_x11.c
@@ -27,7 +27,7 @@ LIBVO_EXTERN( x11 )
#include <X11/Xlib.h>
#include <X11/Xutil.h>
-#include <X11/extensions/XShm.h>
+//#include <X11/extensions/XShm.h>
#ifdef HAVE_XF86VM
#include <X11/extensions/xf86vmode.h>
#endif
@@ -74,6 +74,8 @@ static int X_already_started=0;
//static int vo_dwidth,vo_dheight;
+static int Flip_Flag;
+
#define SH_MEM
#ifdef SH_MEM
@@ -92,8 +94,6 @@ static XShmSegmentInfo Shminfo[1];
static int gXErrorFlag;
static int CompletionType=-1;
-static int Flip_Flag;
-
static void InstallXErrorHandler()
{
//XSetErrorHandler( HandleXError );