now use vo_rootwin var to check for -rootwin switch
author |
nplourde |
date |
Sun, 08 Aug 2004 23:22:29 +0000 |
parents |
d38bf4094bb5 |
children |
093afb92e4d5 |
files |
libvo/x11_common.c libvo/x11_common.h |
diffstat |
2 files changed, 4 insertions(+), 0 deletions(-)
[+]
|
line diff
--- a/libvo/x11_common.c Sun Aug 08 23:19:49 2004 +0000
+++ b/libvo/x11_common.c Sun Aug 08 23:22:29 2004 +0000
@@ -366,6 +366,9 @@
// Window mRootWin;
XWindowAttributes attribs;
char *dispName;
+
+ if (vo_rootwin)
+ WinID = 0; // use root win
if (vo_depthonscreen)
return 1; // already called
--- a/libvo/x11_common.h Sun Aug 08 23:19:49 2004 +0000
+++ b/libvo/x11_common.h Sun Aug 08 23:22:29 2004 +0000
@@ -34,6 +34,7 @@
extern int vo_fs_type;
extern char** vo_fstype_list;
extern int vo_ontop;
+extern int vo_rootwin;
extern char *mDisplayName;
extern Display *mDisplay;