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

Issue 68063003: linux aura: Fix window activation in some X11 window managers. (Closed)

Created:
7 years, 1 month ago by sadrul
Modified:
7 years, 1 month ago
Reviewers:
Elliot Glaysher
CC:
chromium-reviews, tfarina, ben+views_chromium.org
Visibility:
Public.

Description

linux aura: Fix window activation in some X11 window managers. Some X11 window managers do not support extended window manager hints (EWMH) like _NET_ACTIVE_WINDOW. In such cases, instead of trying to set the _NET_ACTIVE_WINDOW atom on the X11 RootWindow, use XRaiseWindow() to activate a window. BUG=317856 R=erg@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235245

Patch Set 1 #

Total comments: 4

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : . #

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

Messages

Total messages: 6 (0 generated)
sadrul
This fixes the referenced bug for me (tested in icewm, ion3, twm, ratpoison).
7 years, 1 month ago (2013-11-14 04:10:53 UTC) #1
Elliot Glaysher
https://codereview.chromium.org/68063003/diff/1/ui/views/widget/desktop_aura/x11_desktop_handler.cc File ui/views/widget/desktop_aura/x11_desktop_handler.cc (right): https://codereview.chromium.org/68063003/diff/1/ui/views/widget/desktop_aura/x11_desktop_handler.cc#newcode69 ui/views/widget/desktop_aura/x11_desktop_handler.cc:69: reinterpret_cast<unsigned char**>(&atoms)); ui::GetAtomArrayProperty()? https://codereview.chromium.org/68063003/diff/1/ui/views/widget/desktop_aura/x11_desktop_handler.cc#newcode90 ui/views/widget/desktop_aura/x11_desktop_handler.cc:90: XClientMessageEvent xclient; piman would ...
7 years, 1 month ago (2013-11-14 18:37:38 UTC) #2
sadrul
https://codereview.chromium.org/68063003/diff/1/ui/views/widget/desktop_aura/x11_desktop_handler.cc File ui/views/widget/desktop_aura/x11_desktop_handler.cc (right): https://codereview.chromium.org/68063003/diff/1/ui/views/widget/desktop_aura/x11_desktop_handler.cc#newcode69 ui/views/widget/desktop_aura/x11_desktop_handler.cc:69: reinterpret_cast<unsigned char**>(&atoms)); On 2013/11/14 18:37:38, Elliot Glaysher wrote: > ...
7 years, 1 month ago (2013-11-14 19:06:41 UTC) #3
Elliot Glaysher
lgtm++ https://codereview.chromium.org/68063003/diff/100001/ui/views/widget/desktop_aura/x11_desktop_handler.cc File ui/views/widget/desktop_aura/x11_desktop_handler.cc (right): https://codereview.chromium.org/68063003/diff/100001/ui/views/widget/desktop_aura/x11_desktop_handler.cc#newcode94 ui/views/widget/desktop_aura/x11_desktop_handler.cc:94: (XEvent*)&xclient); The c-style cast is still here.
7 years, 1 month ago (2013-11-14 19:11:24 UTC) #4
sadrul
https://codereview.chromium.org/68063003/diff/100001/ui/views/widget/desktop_aura/x11_desktop_handler.cc File ui/views/widget/desktop_aura/x11_desktop_handler.cc (right): https://codereview.chromium.org/68063003/diff/100001/ui/views/widget/desktop_aura/x11_desktop_handler.cc#newcode94 ui/views/widget/desktop_aura/x11_desktop_handler.cc:94: (XEvent*)&xclient); On 2013/11/14 19:11:24, Elliot Glaysher wrote: > The ...
7 years, 1 month ago (2013-11-14 19:15:13 UTC) #5
sadrul
7 years, 1 month ago (2013-11-14 22:46:18 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r235245 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698