]> git.mdlowis.com Git - projs/tide.git/commitdiff
disabled window cleanup because it's busted
authorMichael D. Lowis <mike@mdlowis.com>
Thu, 17 Jan 2019 03:36:28 +0000 (22:36 -0500)
committerMichael D. Lowis <mike@mdlowis.com>
Thu, 17 Jan 2019 03:36:28 +0000 (22:36 -0500)
src/registrar.c

index 1a37109086fe3b7e8d47b656f582c843dc3e8fc5..afef0c74c8ebe3ce8741ce9b83ed0a80f51488fe 100644 (file)
@@ -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) {