diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-11-15 17:45:55 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-11-15 17:45:55 +0000 |
commit | 87bee02b191b7400532ff40c21da8dd43c15d289 (patch) | |
tree | 6ae09393e5b955e8403554db280d6bc390e68094 /libvo/vo_x11.c | |
parent | 252f6d5093b732e3762e97348af4e8599d09a999 (diff) | |
download | mpv-87bee02b191b7400532ff40c21da8dd43c15d289.tar.bz2 mpv-87bee02b191b7400532ff40c21da8dd43c15d289.tar.xz |
Replace some of the different inconsistent XGetGeometry uses by a
vo_x11_update_geometry function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27919 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_x11.c')
-rw-r--r-- | libvo/vo_x11.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c index a384c6f3f3..0bf0877179 100644 --- a/libvo/vo_x11.c +++ b/libvo/vo_x11.c @@ -430,9 +430,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, ButtonReleaseMask | ExposureMask); XMapWindow(mDisplay, vo_window); - XGetGeometry(mDisplay, vo_window, &mRootWin, - &vo_dx, &vo_dy, &vo_dwidth, &vo_dheight, - &border, &depth); + depth = vo_x11_update_geometry(); } else XSelectInput(mDisplay, vo_window, ExposureMask); } else |