summaryrefslogtreecommitdiffstats
path: root/video/out/vo_x11.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-02-24 23:32:51 +0100
committerwm4 <wm4@nowhere>2013-02-26 02:01:48 +0100
commit423c0b13c4ffaf8ba619a4412b90a4b94fccce3c (patch)
treed63e256901015ac5ffd039f5f6c51f9fbefddb8c /video/out/vo_x11.c
parentc61f1ff61b8282d9938671543fa6a63d25cf5fc0 (diff)
downloadmpv-423c0b13c4ffaf8ba619a4412b90a4b94fccce3c.tar.bz2
mpv-423c0b13c4ffaf8ba619a4412b90a4b94fccce3c.tar.xz
video/out: rename create_window to config_window
create_window is really bad naming, because this function can be called multiple times, while the name implies that it always creates a new window. At least the name config_window is not actively misleading.
Diffstat (limited to 'video/out/vo_x11.c')
-rw-r--r--video/out/vo_x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_x11.c b/video/out/vo_x11.c
index 26abcef332..0ab3c9ebcb 100644
--- a/video/out/vo_x11.c
+++ b/video/out/vo_x11.c
@@ -362,7 +362,7 @@ static int config(struct vo *vo, uint32_t width, uint32_t height,
p->image_width = (width + 7) & (~7);
p->image_height = height;
- vo_x11_create_vo_window(vo, &p->vinfo, vo->dx, vo->dy, vo->dwidth,
+ vo_x11_config_vo_window(vo, &p->vinfo, vo->dx, vo->dy, vo->dwidth,
vo->dheight, flags, "x11");
if (WinID > 0) {