diff options
Diffstat (limited to 'libvo/gl_common.c')
-rw-r--r-- | libvo/gl_common.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libvo/gl_common.c b/libvo/gl_common.c index 192906285c..369556b96a 100644 --- a/libvo/gl_common.c +++ b/libvo/gl_common.c @@ -1607,13 +1607,7 @@ int setGlWindow(XVisualInfo **vinfo, GLXContext *context, Window win) // set new values vo_window = win; - { - Window root; - int tmp; - unsigned utmp; - XGetGeometry(mDisplay, vo_window, &root, &tmp, &tmp, - (unsigned *)&vo_dwidth, (unsigned *)&vo_dheight, &utmp, &utmp); - } + vo_x11_update_geometry(); if (!keep_context) { void *(*getProcAddress)(const GLubyte *); const char *(*glXExtStr)(Display *, int); |