diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-11-17 13:12:01 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-11-17 13:12:01 +0000 |
commit | 330e951cf0e3b3d84277b0b03ed582ad3e0d0819 (patch) | |
tree | f4f3615c9d675f957b346654981f262bacc132ba /libvo | |
parent | f76cb1f891301a0bdf9ebe5ae5e8c12ac44736e8 (diff) | |
download | mpv-330e951cf0e3b3d84277b0b03ed582ad3e0d0819.tar.bz2 mpv-330e951cf0e3b3d84277b0b03ed582ad3e0d0819.tar.xz |
Remove a useless XGetGeometry call, the X11 event handling already
updates vo_dwidth/vo_dheight.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27946 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_xvmc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libvo/vo_xvmc.c b/libvo/vo_xvmc.c index 89917b47d8..198204d1d5 100644 --- a/libvo/vo_xvmc.c +++ b/libvo/vo_xvmc.c @@ -1064,11 +1064,6 @@ int e=vo_x11_check_events(mDisplay); { e |= VO_EVENT_EXPOSE; - XGetGeometry( mDisplay,vo_window,&mRoot,&drwX,&drwY,&vo_dwidth,&vo_dheight, - &drwBorderWidth,&drwDepth ); - mp_msg(MSGT_VO,MSGL_V, "[xvmc] dx: %d dy: %d dw: %d dh: %d\n",drwX,drwY, - vo_dwidth,vo_dheight ); - calc_drwXY(&drwX, &drwY); } if ( e & VO_EVENT_EXPOSE ) |