summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xover.c
diff options
context:
space:
mode:
authoral <al@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-21 17:31:44 +0000
committeral <al@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-21 17:31:44 +0000
commit362be18be60318f8ee5ee28a09e5aa04d7419106 (patch)
tree1a15e0426458abda20485466aebca52adf17b17e /libvo/vo_xover.c
parent140b59994a97cd828f22f3f58967cc3a4b1e0707 (diff)
downloadmpv-362be18be60318f8ee5ee28a09e5aa04d7419106.tar.bz2
mpv-362be18be60318f8ee5ee28a09e5aa04d7419106.tar.xz
Make -wid behave more consistent.
Original patch by kiriuja |mplayer-patches >ta< en-directo >tod< net| git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15541 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_xover.c')
-rw-r--r--libvo/vo_xover.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/vo_xover.c b/libvo/vo_xover.c
index 22457fc4da..0b4a97524d 100644
--- a/libvo/vo_xover.c
+++ b/libvo/vo_xover.c
@@ -300,6 +300,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width,
XUnmapWindow(mDisplay, vo_window);
XChangeWindowAttributes(mDisplay, vo_window, xswamask, &xswa);
vo_x11_selectinput_witherr( mDisplay,vo_window,StructureNotifyMask | KeyPressMask | PropertyChangeMask | PointerMotionMask | ButtonPressMask | ButtonReleaseMask | ExposureMask );
+ XMapWindow(mDisplay, vo_window);
} else XSelectInput( mDisplay,vo_window,ExposureMask );
}
else