From 1e953244c00b01b33e6ad2f090118fc30f150cba Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Tue, 30 May 2023 00:40:19 +0200 Subject: Change the name of a variable --- src/window.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/window.c b/src/window.c index 52cd923..eaee6c0 100644 --- a/src/window.c +++ b/src/window.c @@ -165,12 +165,13 @@ cherry_window_set_position(CherryWindow *w, int x, int y) void cherry_window_set_visible(CherryWindow *w, int visible) +cherry_window_set_visible(CherryWindow *window, int visible) { CherryApplication *app = cherry_application_get_running_app(); - w->draw((CherryWidget *) w ); + window->draw((CherryWidget *) window); if (visible) { - XMapRaised(app->display, w->window_handler); + XMapRaised(app->display, window->window_handler); } } -- cgit v1.2.3