From: Michael D. Lowis Date: Thu, 17 Jan 2019 03:36:28 +0000 (-0500) Subject: disabled window cleanup because it's busted X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=16618abce6105f14a1187e1eb1df442623a6a397;p=projs%2Ftide.git disabled window cleanup because it's busted --- 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) {