diff options
author | overridex <overridex@gmail.com> | 2015-07-02 21:12:56 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-03 04:13:36 +0000 |
commit | c249d328f7eb74479b017bb04439a585fe6bf44a (patch) | |
tree | 89f2470144d2af783d28a4183e1a59fd0b6acb5d /AUTHORS | |
parent | 2fed195fad8698e6614da8353ec73461bd0c4cf6 (diff) | |
download | chromium_src-c249d328f7eb74479b017bb04439a585fe6bf44a.zip chromium_src-c249d328f7eb74479b017bb04439a585fe6bf44a.tar.gz chromium_src-c249d328f7eb74479b017bb04439a585fe6bf44a.tar.bz2 |
Only send _NET_ACTIVE_WINDOW hint if the chromium window is not already active.
This is intended to replace the proposed changes of https://codereview.chromium.org/917473002/ and
https://codereview.chromium.org/882223011/. This coupled with the changes in
https://codereview.chromium.org/1154013002 should resolve bug 318937. Rather than always sending a
_NET_ACTIVE_WINDOW hint, keep track of the active window by tracking the _NET_ACTIVE_WINDOW property
of the X11 root window, and send a _NET_ACTIVE_WINDOW only if the window is not already active.
This prevents spurious raises in some window managers when click to raise is disabled.
R=agoode@chromium.org, sadrul@chromium.org
BUG=318937
TEST=In an affected WM like XFCE or E19, disable click-to-raise and overlap a window over Chromium.
Click in the rendering area of Chromium and observe that it is not raised. Click on a link in another
application with Chromium as the default browser and note that the Chromium window is raised correctly.
Review URL: https://codereview.chromium.org/1212643008
Cr-Commit-Position: refs/heads/master@{#337282}
Diffstat (limited to 'AUTHORS')
-rw-r--r-- | AUTHORS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -118,6 +118,7 @@ Craig Schlenter <craig.schlenter@gmail.com> Daegyu Lee <na7jun8gi@gmail.com> Dai Chunyang <chunyang.dai@intel.com> Daiwei Li <daiweili@suitabletech.com> +Dan McCombs <overridex@gmail.com> Daniel Bomar <dbdaniel42@gmail.com> Daniel Carvalho Liedke <dliedke@gmail.com> Daniel Imms <daniimms@amazon.com> |