aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index b4663be..7912bd0 100644
--- a/src/window.c
+++ b/src/window.c
@@ -50,7 +50,7 @@ cherry_window_new(void)
None, NULL, 0,
&hints);
- clist_add(&(app->windows), &w->window_handler, sizeof(w->window_handler));
+ clist_add(&(app->windows), w, sizeof(*w));
return w;
}