summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/xwindowlistener/xwindowlistener.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/xwindowlistener/xwindowlistener.c')
-rw-r--r--gst-libs/gst/xwindowlistener/xwindowlistener.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/xwindowlistener/xwindowlistener.c b/gst-libs/gst/xwindowlistener/xwindowlistener.c
index ebbc9ac6..e3721d7c 100644
--- a/gst-libs/gst/xwindowlistener/xwindowlistener.c
+++ b/gst-libs/gst/xwindowlistener/xwindowlistener.c
@@ -196,7 +196,7 @@ gst_xwin_refresh (gpointer data)
xswa.save_under = False;
tmp = XCreateWindow (xwin->main_display, win, 0, 0,
attr.width, attr.height, 0,
- CopyFromParent, InputOutput, CopyFromParent,
+ CopyFromParent, InputOutput, (Visual *) CopyFromParent,
(CWSaveUnder | CWBackingStore | CWOverrideRedirect), &xswa);
XMapWindow (xwin->main_display, tmp);
XUnmapWindow (xwin->main_display, tmp);