Variable name change

win::destroyed to win::destroying, because it make slightly more sense.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-02-02 19:42:05 +00:00
parent 8371d6a0b7
commit 6eff9ebf8b
5 changed files with 30 additions and 28 deletions

View File

@ -838,7 +838,7 @@ find_win(session_t *ps, xcb_window_t id) {
win *w;
for (w = ps->list; w; w = w->next) {
if (w->id == id && !w->destroyed)
if (w->id == id && !w->destroying)
return w;
}
@ -857,7 +857,7 @@ find_toplevel(session_t *ps, xcb_window_t id) {
return NULL;
for (win *w = ps->list; w; w = w->next) {
if (w->client_win == id && !w->destroyed)
if (w->client_win == id && !w->destroying)
return w;
}