path: root/src/string.cpp
diff options
authorSam Spilsbury <>2010-11-06 23:49:27 +0800
committerSam Spilsbury <>2010-11-06 23:49:27 +0800
commit1b5e1a28ba5239fe7f6aab45f884ffbfaf54c416 (patch)
tree79709c667ab12930fa7aa944ebd576eb48f5e162 /src/string.cpp
parent5fa799e1419ab00028ce628875fec9e468edc3ea (diff)
Don't increase leave pendingMaps at a non-zero number once the window is mapped.
We used to assume that for every MapRequest event that we got for which we also sent an XMapWindow that we would get a MapNotify. According to the man XMapWindow this doesn't make any sense since trying calling XMapWindow on an already mapped window for which we have SubstructureRedirectMask set results in a NoOp anyways (so we'll only ever get one MapNotify and multiple MapRequests). This fixes a case where no input focus would be set on closing windows with multiple remaining pendingMaps since we don't move the input focus if this is the case
Diffstat (limited to 'src/string.cpp')
0 files changed, 0 insertions, 0 deletions