From 16618abce6105f14a1187e1eb1df442623a6a397 Mon Sep 17 00:00:00 2001 From: "Michael D. Lowis" Date: Wed, 16 Jan 2019 22:36:28 -0500 Subject: [PATCH] disabled window cleanup because it's busted --- src/registrar.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/registrar.c b/src/registrar.c index 1a37109..afef0c7 100644 --- a/src/registrar.c +++ b/src/registrar.c @@ -148,18 +148,18 @@ void propnotify(XConf* x, XEvent* e) { if(addr) XFree(addr); } /* cleanup any invalid windows */ - TWindow* wins = Windows; - Windows = NULL; - while (wins && wins->next) { - TWindow* curr = wins; - wins = curr->next; - if (!wins->path) { - free(curr); - } else { - curr->next = Windows; - Windows = curr; - } - } +// TWindow* wins = Windows; +// Windows = NULL; +// while (wins && wins->next) { +// TWindow* curr = wins; +// wins = curr->next; +// if (!wins->path) { +// free(curr); +// } else { +// curr->next = Windows; +// Windows = curr; +// } +// } } void find_windows(XConf* x) { -- 2.49.0