Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Issue 549713003: Handle _NET_ACTIVE_WINDOW or FocusIn & FocusOut, not both. (Closed)

Created:
6 years, 3 months ago by joleksy
Modified:
6 years, 3 months ago
CC:
chromium-reviews, tfarina, ben+views_chromium.org, tdanderson+views_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/deadc732ad03f3907012dce61923ef9ff26baa3b Cr-Commit-Position: refs/heads/master@{#294550}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M ui/views/widget/desktop_aura/x11_desktop_handler.cc View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (5 generated)
joleksy
@reviewer: does it look ok to you?
6 years, 3 months ago (2014-09-09 08:52:19 UTC) #2
Elliot Glaysher
pkotwicz: you were the last person to touch focus here. Does this look correct to ...
6 years, 3 months ago (2014-09-09 17:26:05 UTC) #4
pkotwicz
This looks good to me. jolesky@ can you file a bug as to what does ...
6 years, 3 months ago (2014-09-09 17:41:08 UTC) #5
joleksy
On 2014/09/09 17:41:08, pkotwicz wrote: > This looks good to me. > > jolesky@ can ...
6 years, 3 months ago (2014-09-10 06:48:10 UTC) #6
pkotwicz
I think your fix is correct. One more clarification question. I must be missing something. ...
6 years, 3 months ago (2014-09-10 15:40:57 UTC) #7
joleksy
On 2014/09/10 15:40:57, pkotwicz wrote: > I think your fix is correct. > > One ...
6 years, 3 months ago (2014-09-11 06:41:58 UTC) #8
pkotwicz
LGTM Thanks for the CL!
6 years, 3 months ago (2014-09-11 14:27:49 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/549713003/1
6 years, 3 months ago (2014-09-11 14:36:03 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/10302)
6 years, 3 months ago (2014-09-11 14:43:15 UTC) #13
joleksy
On 2014/09/11 14:43:15, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 3 months ago (2014-09-11 14:47:12 UTC) #14
pkotwicz
Yes, you still need to get approval from erg@
6 years, 3 months ago (2014-09-11 15:17:38 UTC) #15
Elliot Glaysher
lgtm
6 years, 3 months ago (2014-09-11 17:28:31 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/549713003/1
6 years, 3 months ago (2014-09-12 06:23:00 UTC) #18
commit-bot: I haz the power
Committed patchset #1 (id:1) as 3e4271951257a60af71427f6381b2a19304b9e09
6 years, 3 months ago (2014-09-12 06:37:15 UTC) #19
commit-bot: I haz the power
6 years, 3 months ago (2014-09-12 06:39:14 UTC) #20
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/deadc732ad03f3907012dce61923ef9ff26baa3b
Cr-Commit-Position: refs/heads/master@{#294550}

Powered by Google App Engine
This is Rietveld 408576698