aboutsummaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c
index 2d14292..c3f2e2f 100644
--- a/src/window.c
+++ b/src/window.c
@@ -71,6 +71,7 @@ cherry_window_new(void)
XSetForeground(app->display, w->gc, BlackPixel(app->display, app->screen));
clist_add(&(app->windows), w);
+ XSaveContext(app->display, w->window_handler, app->context, (XPointer) w);
return w;
}