# HG changeset patch # User nplourde # Date 1092007349 0 # Node ID c8900eba2cc74053aec49ca6cac9e65ec3929422 # Parent d38bf4094bb5c0d8fd328062c3482528a82102ec now use vo_rootwin var to check for -rootwin switch diff -r d38bf4094bb5 -r c8900eba2cc7 libvo/x11_common.c --- 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 diff -r d38bf4094bb5 -r c8900eba2cc7 libvo/x11_common.h --- 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;