commit 097c839
wf
·
2026-05-21 17:08:48 +0000 UTC
parent 766d9da
Remove debug prints from list_windows
1 files changed,
+0,
-7
+0,
-7
1@@ -444,23 +444,18 @@ ipc_list_windows(char **arg) {
2 size_t o = 0;
3 struct client *c;
4
5- // o += snprintf(s.msg + o, sizeof(s.msg) - o, "%" PRIu32 "\n", c->id);
6-
7 wl_list_for_each(c, &wm.clients, link) {
8 bool list = false;
9 switch (mode) {
10 case LIST_MAPPED: {
11- _inf("mapped");
12 list = c->visible;
13 break;
14 }
15 case LIST_UNMAPPED: {
16- _inf("unmapped");
17 list = !c->visible;
18 break;
19 }
20 case LIST_ALL: {
21- _inf("all");
22 list = true;
23 break;
24 }
25@@ -468,9 +463,7 @@ ipc_list_windows(char **arg) {
26 if (!list)
27 continue;
28
29- _inf("yo we finna print bra. id=%" PRIu32, c->id);
30 o += snprintf(s.msg + o, sizeof(s.msg) - o, "%" PRIu32 "\n", c->id);
31- _inf("yo we done bra. id=%" PRIu32, c->id);
32 }
33 }
34