summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2002-01-02 12:15:08 +0000
committersabetts <sabetts>2002-01-02 12:15:08 +0000
commitd2de091a0450b16a51d4be53928a7617961a9850 (patch)
tree3d7bcf90aea19a31a70cd187a5b0979fea22d579 /src/main.c
parent46eeb9fd620ded56fd2a5c013038ca56f22a2b4d (diff)
downloadratpoison-d2de091a0450b16a51d4be53928a7617961a9850.zip
* src/manage.h (get_state): new prototype
* src/manage.c (update_normal_hints): print only the hints that are set as debugging output. (scanwins): collect mapped and iconized windows. (get_state): new function * src/main.c (clean_up): don't map iconized windows.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/main.c b/src/main.c
index 3a41edc..98018f9 100644
--- a/src/main.c
+++ b/src/main.c
@@ -649,22 +649,8 @@ init_screen (screen_info *s, int screen_num)
void
clean_up ()
{
- rp_window *cur;
int i;
- /* Map any iconized windows. */
- for (cur = rp_mapped_window_sentinel->next;
- cur != rp_mapped_window_sentinel;
- cur = cur->next)
- {
- if (cur->state == IconicState)
- {
- unhide_window (cur);
- }
- }
-
- XSync (dpy, False);
-
for (i=0; i<num_screens; i++)
{
XDestroyWindow (dpy, screens[i].bar_window);