aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo/x11_common.h
blob: 5a5c7d9f44b8fd34f5447fdf6ceec17a6327f8dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

#ifdef X11_FULLSCREEN

extern int vo_depthonscreen;
extern int vo_screenwidth;
extern int vo_screenheight;
extern int vo_dwidth;
extern int vo_dheight;

extern char *mDisplayName;
extern Display *mDisplay;
extern Window *mRootWin;
extern int mScreen;
extern int mLocalDisplay;

int vo_init( void );
int vo_hidecursor ( Display* , Window );
void vo_x11_decoration( Display * vo_Display,Window w,int d );
int vo_x11_check_events(Display *mydisplay);
#endif

#ifdef HAVE_GUI
 extern Window    vo_window;
 extern Display * vo_display;
 extern GC        vo_gc;
 extern int       vo_xeventhandling;
 extern int       vo_expose;
 extern int       vo_resize;

 extern void vo_setwindow( Window w,GC g );
#endif

void saver_off( Display * );
void saver_on( Display * );