diff options
author | nplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-08-08 23:22:29 +0000 |
---|---|---|
committer | nplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-08-08 23:22:29 +0000 |
commit | 0b7de297e412ad272689b851c613f9c8f5c8e6b1 (patch) | |
tree | 76746501126f474d2d5f8ecec91c0194d839c068 /libvo/x11_common.c | |
parent | de1af27fdb2ca84381cade1338dcc7ac47146398 (diff) | |
download | mpv-0b7de297e412ad272689b851c613f9c8f5c8e6b1.tar.bz2 mpv-0b7de297e412ad272689b851c613f9c8f5c8e6b1.tar.xz |
now use vo_rootwin var to check for -rootwin switch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12973 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r-- | libvo/x11_common.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c index 94573525b1..0cf9c166c0 100644 --- a/libvo/x11_common.c +++ b/libvo/x11_common.c @@ -366,6 +366,9 @@ int vo_init(void) // Window mRootWin; XWindowAttributes attribs; char *dispName; + + if (vo_rootwin) + WinID = 0; // use root win if (vo_depthonscreen) return 1; // already called |