diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-11-19 20:19:25 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-11-19 20:19:25 +0000 |
commit | c351d29392df4d69c7beae0ba41878e6335e3614 (patch) | |
tree | 3ddfa5ab9beca381a36da9384c750eb0832a5983 /libvo/vo_gl.c | |
parent | 928e4433aa62badaa8578cf8247ea0cbf06e3204 (diff) | |
download | mpv-c351d29392df4d69c7beae0ba41878e6335e3614.tar.bz2 mpv-c351d29392df4d69c7beae0ba41878e6335e3614.tar.xz |
Factor common code like -wid handling, vo_gc creation etc. out into
x11_common.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27961 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r-- | libvo/vo_gl.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index 5acfba6bee..a75379b9e0 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -473,14 +473,6 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin if (!vo_w32_config(d_width, d_height, flags)) return -1; #else - vo_mouse_autohide = 1; - if (WinID >= 0) { - vo_window = WinID ? (Window)WinID : mRootWin; - vo_x11_selectinput_witherr(mDisplay, vo_window, - StructureNotifyMask | KeyPressMask | PointerMotionMask | - ButtonPressMask | ButtonReleaseMask | ExposureMask); - goto glconfig; - } { XVisualInfo *vinfo=glXChooseVisual( mDisplay,mScreen,wsGLXAttrib ); if (vinfo == NULL) |