summaryrefslogtreecommitdiff
path: root/src/region.cpp
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-11-06 23:49:27 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-11-06 23:49:27 +0800
commit1b5e1a28ba5239fe7f6aab45f884ffbfaf54c416 (patch)
tree79709c667ab12930fa7aa944ebd576eb48f5e162 /src/region.cpp
parent5fa799e1419ab00028ce628875fec9e468edc3ea (diff)
downloadunity-window-decorator-1b5e1a28ba5239fe7f6aab45f884ffbfaf54c416.tar.gz
unity-window-decorator-1b5e1a28ba5239fe7f6aab45f884ffbfaf54c416.tar.bz2
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/region.cpp')
0 files changed, 0 insertions, 0 deletions