summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@gnugeneration.com>2016-06-28 01:52:15 -0700
committerVito Caputo <vcaputo@gnugeneration.com>2016-06-28 01:52:15 -0700
commit1efe5e825177837f7aad6eaa688059464f48d219 (patch)
tree6b4774686f9a281c226cc594ec4d29d6d3a4ffb2
parentf3ecc1ad81100422c4acd15109c19517680d11ea (diff)
Clear the mapping bit when swallowing vwm-triggered MapNotify events.
I didn't experience any bug in particular which brought this to my attention, but it's an obvious omission, though apparently quite ignorable.
-rw-r--r--vwm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vwm.c b/vwm.c
index dc48b8b..a186959 100644
--- a/vwm.c
+++ b/vwm.c
@@ -3133,6 +3133,7 @@ int main(int argc, char *argv[])
if((xwin = vwm_xwin_lookup(event.xmap.window))) {
if(xwin->managed && xwin->managed->mapping) {
VWM_TRACE("swallowed vwm-induced MapNotify");
+ xwin->managed->mapping = 0;
} else {
/* some windows like popup dialog boxes bypass MapRequest */
xwin->mapped = 1;
© All Rights Reserved