summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 540bb6a..0f213c8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -763,6 +763,8 @@ free_screen (rp_screen *s)
frame_free (s, frame);
}
+ deactivate_screen(s);
+
XDestroyWindow (dpy, s->bar_window);
XDestroyWindow (dpy, s->key_window);
XDestroyWindow (dpy, s->input_window);