summaryrefslogtreecommitdiff
path: root/src/xwindow.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@gnugeneration.com>2017-03-25 01:28:51 -0700
committerVito Caputo <vcaputo@gnugeneration.com>2017-03-25 01:28:51 -0700
commit58aa58b6a7b641f851335ae2af28315ac2de2c50 (patch)
tree80f2c5104372ab7d73123b76b0611b343d898947 /src/xwindow.h
parente17db88db54aafd9298c6db48a48569840acd328 (diff)
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.
Diffstat (limited to 'src/xwindow.h')
-rw-r--r--src/xwindow.h2
1 files changed, 1 insertions, 1 deletions
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 */
© All Rights Reserved