summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorBernhard R. Link <brlink@debian.org>2009-01-03 16:21:34 +0100
committerShawn <sabetts@juicebox.(none)>2009-01-16 15:57:40 -0800
commitffae4bf9413bec7efd5d4821e030b63a700fab69 (patch)
treea571f33a5043d162db60c4d190bb9949a20105c7 /src/main.c
parent9888fccffbc7d9f5680512b03ace6dd5fc325094 (diff)
downloadratpoison-ffae4bf9413bec7efd5d4821e030b63a700fab69.zip
Move screen activation code to new (de)activate_screen functions,
making sure _NET atoms are reset after tmpwm and deleted when exiting.
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);