diff options
author | Vito Caputo <vcaputo@gnugeneration.com> | 2017-02-22 09:57:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-22 09:57:52 -0800 |
commit | 01cdfeea061ab3339b4e5cbf0964005d4c15bd5e (patch) | |
tree | c6d74a8551ee344e22795bb577095ef3fb5f5eba /src/vwm.h | |
parent | 5b50e2a3affddb5693b91846b6c621590b8d21b2 (diff) | |
parent | 3d8f1432e555af373e7ccc3b6fffc80b70533888 (diff) |
Trivial cleanup and small (but continuous) memory leak fix
Tidy up vwm exit handling and stop leaking an X Region on every clean vwm_composite_paint_all().
If you noticed very long-running vwm instances hogging memory like a web browser, this is the culprit, vwm doesn't typically need much memory.
Diffstat (limited to 'src/vwm.h')
-rw-r--r-- | src/vwm.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -53,6 +53,7 @@ typedef struct _vwm_t { Atom wm_protocols_atom; Atom wm_pid_atom; int damage_event, damage_error; + int done; /* global flag to cause vwm to quit */ list_head_t desktops; /* global list of all (virtual) desktops in spatial created-in order */ list_head_t desktops_mru; /* global list of all (virtual) desktops in MRU order */ |