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_gl2.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_gl2.c')
-rw-r--r-- | libvo/vo_gl2.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c index 2cb7a72f21..d89accd12a 100644 --- a/libvo/vo_gl2.c +++ b/libvo/vo_gl2.c @@ -521,14 +521,6 @@ static int choose_glx_visual(Display *dpy, int scr, XVisualInfo *res_vi) static int config_glx(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) { XVisualInfo *vinfo, vinfo_buf; - 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); - return 0; - } vinfo = choose_glx_visual(mDisplay,mScreen,&vinfo_buf) < 0 ? NULL : &vinfo_buf; if (vinfo == NULL) { mp_msg(MSGT_VO, MSGL_FATAL, "[gl2] no GLX support present\n"); |