diff options
author | Karl Ramm <kcr@mit.edu> | 2009-03-22 17:34:39 +0000 |
---|---|---|
committer | Karl Ramm <kcr@mit.edu> | 2009-03-22 17:34:39 +0000 |
commit | 47b229d79ffe0f24ddfbe6cf437c4c1367f39b5c (patch) | |
tree | bfcfdedd5054e7ee442e47a4077eeac59cc3d0d5 /zwgc/xshow.c | |
parent | 441fec9c67f3f0b5154bcc39cbc5f7083c7a462b (diff) |
clean up and modernize some of the CMU patch fallout
Diffstat (limited to 'zwgc/xshow.c')
-rw-r--r-- | zwgc/xshow.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/zwgc/xshow.c b/zwgc/xshow.c index 98bab3a..bb7415f 100644 --- a/zwgc/xshow.c +++ b/zwgc/xshow.c @@ -38,6 +38,7 @@ static const char rcsid_xshow_c[] = "$Id$"; #include <zephyr/zephyr.h> #include "xrevstack.h" #include "plus.h" +#include "xcut.h" #endif #define max(a,b) ((a)>(b)?(a):(b)) @@ -609,7 +610,7 @@ plus_window_deletions(ZNotice_t *notice) if (tmp->notice == (char *)notice) { fry = tmp; tmp = tmp->above; - xdestroygram(dpy, fry->w, desc_context, fry, 1); + xdestroygram(dpy, fry->w, desc_context, fry); done = 0; } else { tmp = tmp->above; @@ -627,7 +628,7 @@ plus_window_deletions(ZNotice_t *notice) if (!strcasecmp(((ZNotice_t *)(tmp->notice))->z_sender, class_nm)) { fry = tmp; tmp = tmp->above; - xdestroygram(dpy, fry->w, desc_context, fry, 1); + xdestroygram(dpy, fry->w, desc_context, fry); done = 0; } else { tmp = tmp->above; @@ -645,7 +646,7 @@ plus_window_deletions(ZNotice_t *notice) if (!!strcasecmp(((ZNotice_t *)(tmp->notice))->z_sender, class_nm)) { fry = tmp; tmp = tmp->above; - xdestroygram(dpy, fry->w, desc_context, fry, 1); + xdestroygram(dpy, fry->w, desc_context, fry); done = 0; } else { tmp = tmp->above; @@ -662,7 +663,7 @@ plus_window_deletions(ZNotice_t *notice) if (!strcasecmp(((ZNotice_t *)(tmp->notice))->z_recipient, recip_nm)) { fry = tmp; tmp = tmp->above; - xdestroygram(dpy, fry->w, desc_context, fry, 1); + xdestroygram(dpy, fry->w, desc_context, fry); done = 0; } else { tmp = tmp->above; @@ -679,7 +680,7 @@ plus_window_deletions(ZNotice_t *notice) if (!!strcasecmp(((ZNotice_t *)(tmp->notice))->z_recipient, recip_nm)) { fry = tmp; tmp = tmp->above; - xdestroygram(dpy, fry->w, desc_context, fry, 1); + xdestroygram(dpy, fry->w, desc_context, fry); done = 0; } else { tmp = tmp->above; @@ -701,7 +702,7 @@ plus_window_deletions(ZNotice_t *notice) { fry = tmp; tmp = tmp->above; - xdestroygram(dpy, fry->w, desc_context, fry, 1); + xdestroygram(dpy, fry->w, desc_context, fry); done = 0; } else { tmp = tmp->above; @@ -721,7 +722,7 @@ plus_window_deletions(ZNotice_t *notice) { fry = tmp; tmp = tmp->above; - xdestroygram(dpy, fry->w, desc_context, fry, 1); + xdestroygram(dpy, fry->w, desc_context, fry); done = 0; } else { tmp = tmp->above; @@ -741,7 +742,7 @@ plus_window_deletions(ZNotice_t *notice) { fry = tmp; tmp = tmp->above; - xdestroygram(dpy, fry->w, desc_context, fry, 1); + xdestroygram(dpy, fry->w, desc_context, fry); done = 0; } else { tmp = tmp->above; @@ -758,7 +759,7 @@ plus_window_deletions(ZNotice_t *notice) if (!strcasecmp(((ZNotice_t *)(tmp->notice))->z_class, class_nm)) { fry = tmp; tmp = tmp->above; - xdestroygram(dpy, fry->w, desc_context, fry, 1); + xdestroygram(dpy, fry->w, desc_context, fry); done = 0; } else { tmp = tmp->above; @@ -768,7 +769,7 @@ plus_window_deletions(ZNotice_t *notice) } else if (!strcmp(val, "all")) { while (bottom_gram) { - xdestroygram(dpy, bottom_gram->w, desc_context, bottom_gram, 1); + xdestroygram(dpy, bottom_gram->w, desc_context, bottom_gram); } } } |