commit | deadc732ad03f3907012dce61923ef9ff26baa3b | [log] [tgz] |
---|---|---|
author | joleksy <joleksy@opera.com> | Fri Sep 12 06:36:20 2014 |
committer | Commit bot <commit-bot@chromium.org> | Fri Sep 12 06:38:02 2014 |
tree | baefd08fc0acd1b60c0040e09a3ce0319a5d01f0 | |
parent | 22dc4dc4ec2d71dcc306b586e03f855bf5b4ec0c [diff] |
Handle _NET_ACTIVE_WINDOW or FocusIn & FocusOut, not both. When WM supports _NET_ACTIVE_WINDOW notification, we get OnActiveWindowChanged() from two places: - X11DesktopHandler::ProcessXEvent (FocusIn) - X11DesktopHandler::DispatchEvent (PropertyNotify) One is enough, two can lead to confusion. FocusIn/Out should not be handled if WM supports active window. BUG=None TEST=None Review URL: https://codereview.chromium.org/549713003 Cr-Commit-Position: refs/heads/master@{#294550}