summaryrefslogtreecommitdiffstats
path: root/video/out/x11_common.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-09 21:28:07 +0100
committerwm4 <wm4@nowhere>2014-12-09 21:55:18 +0100
commitfbccddb48b4c71c18300b092ef7a3860be2a659a (patch)
treeaa76fa84f59c7bae4d5ec457300b39c4995096b3 /video/out/x11_common.h
parentfb855b86593ad2a9db71cce3aa652ace93af38b5 (diff)
downloadmpv-fbccddb48b4c71c18300b092ef7a3860be2a659a.tar.bz2
mpv-fbccddb48b4c71c18300b092ef7a3860be2a659a.tar.xz
x11: copy WinID option
For the purpose of making "--wid" setable at any time.
Diffstat (limited to 'video/out/x11_common.h')
-rw-r--r--video/out/x11_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/x11_common.h b/video/out/x11_common.h
index 9d14cae33c..ba52bb92aa 100644
--- a/video/out/x11_common.h
+++ b/video/out/x11_common.h
@@ -42,6 +42,7 @@ struct vo_x11_state {
Display *display;
Window window;
Window rootwin;
+ Window parent; // embedded in this foreign window
int screen;
int display_is_local;
int ws_width;