summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2004-06-03 21:18:59 +0000
committersabetts <sabetts>2004-06-03 21:18:59 +0000
commitc2ccd7137f1d77215abc34ceb9bdf0a30d3888a1 (patch)
tree6b4d730bf0bfec70051804a6c2228b0098e85854 /src/main.c
parentc9b79a47d169f3358cfd9e644d38cd86658fb3de (diff)
downloadratpoison-c2ccd7137f1d77215abc34ceb9bdf0a30d3888a1.zip
* src/number.c (numset_add_num): add debugging output to print the args.
(numset_release): likewise (numset_request): add debugging output to print the requested number * src/manage.c (withdraw_window): Print an error when withdrawing a window who's number is -1. * src/main.c (clean_up): free the global frame numset. (free_screen): don't free the screen's numset, since it's a pointer to the global numset. * src/group.c (group_del_window): don't release the window number here. It's already been done in group_unmap_window. * src/events.c (configure_request): only change the stack mode for non withdrawn windows.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 584b958..7550c82 100644
--- a/src/main.c
+++ b/src/main.c
@@ -681,8 +681,6 @@ free_screen (rp_screen *s)
XFreeGC (dpy, s->normal_gc);
free (s->display_string);
-
- numset_free (s->frames_numset);
}
void
@@ -707,6 +705,9 @@ clean_up ()
}
free (screens);
+ /* Free the global frame numset shared by all screens. */
+ free (rp_frame_numset);
+
free_xinerama();
XFreeFont (dpy, defaults.font);