diff options
author | 2023-05-30 00:40:19 +0200 | |
---|---|---|
committer | 2023-05-30 00:40:19 +0200 | |
commit | 1e953244c00b01b33e6ad2f090118fc30f150cba (patch) | |
tree | b263a13b1547afdee003a32e35544a62c9b7060f /src | |
parent | 1891e18f3c837ef511ee012605f1c2f37ab6294a (diff) | |
download | cherry-1e953244c00b01b33e6ad2f090118fc30f150cba.tar.gz cherry-1e953244c00b01b33e6ad2f090118fc30f150cba.zip |
Change the name of a variable
Diffstat (limited to 'src')
-rw-r--r-- | src/window.c | 5 |
1 files 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); } } |