From 58aa58b6a7b641f851335ae2af28315ac2de2c50 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sat, 25 Mar 2017 01:28:51 -0700 Subject: xwindow: s/xwindow->mapped/xwindow->client_mapped/ This member reflects if the window is mapped from the client's perspective, not necessarily if the window is currently mapped (since vwm maps and unmaps windows the client has mapped in the course of providing virtual desktops) Changing the name for better clarity, since it's a bit ambiguous as-is. --- src/xwindow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xwindow.h') diff --git a/src/xwindow.h b/src/xwindow.h index 7c77692..0d2b322 100644 --- a/src/xwindow.h +++ b/src/xwindow.h @@ -24,7 +24,7 @@ typedef struct _vwm_xwindow_t { vwm_overlay_t *overlay; /* monitoring overlay state */ char *name; /* client name */ - unsigned int mapped:1; /* is the window currently mapped (by client) */ + unsigned int client_mapped:1; /* is the window currently mapped (by client) */ unsigned int occluded:1; /* is the window occluded entirely by another window? (used and valid only during paint_all()) */ /* if only Xorg could send VisibilityNotify events when requested for redirected windows :( */ vwm_window_t *managed; /* is the window "managed"? NULL or this points to the managed context of the window */ -- cgit v1.2.3