diff options
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 |