aboutsummaryrefslogtreecommitdiff
path: root/src/application.c
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-05-17 17:27:50 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-05-17 17:27:50 +0200
commitcdc629aea95731433267a5be81a7e40e8d24b2d0 (patch)
tree61e265056f04e51309a26061ec7782565e545c95 /src/application.c
parent17cdced87bf3c337574215ce7625c462f15798a0 (diff)
downloadcherry-cdc629aea95731433267a5be81a7e40e8d24b2d0.tar.gz
cherry-cdc629aea95731433267a5be81a7e40e8d24b2d0.zip
Add graphics support
Diffstat (limited to 'src/application.c')
-rw-r--r--src/application.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/application.c b/src/application.c
index 444dfc7..91b1719 100644
--- a/src/application.c
+++ b/src/application.c
@@ -103,6 +103,8 @@ cherry_application_run(CherryApplication *app, int argc, char **argv)
char *wnd_name = cherry_window_get_title(w);
printf("Destroying window: %s\n", wnd_name);
XFree(wnd_name);
+
+ XFreeGC(app->display, w->gc);
XDestroyWindow(app->display, w->window_handler);
}