From 423c0b13c4ffaf8ba619a4412b90a4b94fccce3c Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 24 Feb 2013 23:32:51 +0100 Subject: 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. --- video/out/vo_x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/vo_x11.c') 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) { -- cgit v1.2.3