diff options
| author | Richard Grenville <pyxlcy@gmail.com> | 2013-10-21 22:17:01 +0800 |
|---|---|---|
| committer | Richard Grenville <pyxlcy@gmail.com> | 2013-10-21 22:17:01 +0800 |
| commit | 522923dbc7f99fe0ef4bd44c6e9f761addec9de2 (patch) | |
| tree | 7a6a9ce09e030fbfbc6b4587343500b236ddcc30 /twin/data/update_default_rules.cpp | |
| parent | 70dfd1f58e94ae63eb8d035a35c4002dcd5cc14a (diff) | |
| download | tdebase-522923dbc7f99fe0ef4bd44c6e9f761addec9de2.tar.gz tdebase-522923dbc7f99fe0ef4bd44c6e9f761addec9de2.zip | |
Bug fix #153: Possible fix for a rare timing issue
Possible fix for a very rare timing issue in focus detection. Compton
may fail to detect the currently focused window, when a window newly
mapped gets focused, we failed to listen to events and get FocusIn from
it in time, and a series of focus change events before it happens stay
in the event queue and puzzled compton. My choice is to force focus
recheck on all focus-related events. More roundtrips to X, but not
necessarily worse performance, due to the high cost of focus flipping
especially when there's a lot of conditions. Thanks to SlackBox for
reporting. (#153)
Diffstat (limited to 'twin/data/update_default_rules.cpp')
0 files changed, 0 insertions, 0 deletions
