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

Issue 10913253: aura: Make sure the root-window retains the X events it was already listening for. (Closed)

Created:
8 years, 3 months ago by sadrul
Modified:
8 years, 3 months ago
Reviewers:
Daniel Erat, sky
CC:
chromium-reviews, ben+watch_chromium.org
Visibility:
Public.

Description

aura: Make sure the root-window retains the X events it was already listening for. When aura starts listening for resize events on the X root-window, it needs to make sure it continues to listen to other X events on the root-window selected earlier. Also, split out the handling of events targetted for the X root-window into a separate function. BUG=148784 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=156741

Patch Set 1 #

Total comments: 2

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : . #

Patch Set 4 : tot-merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -140 lines) Patch
M ui/aura/root_window_host_linux.h View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M ui/aura/root_window_host_linux.cc View 1 2 3 6 chunks +170 lines, -139 lines 0 comments Download
M ui/views/widget/x11_desktop_handler.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
sadrul
derat@ Please review. erg@ FYI (If you get a chance and review/test, that'd be great ...
8 years, 3 months ago (2012-09-13 19:03:21 UTC) #1
Daniel Erat
http://codereview.chromium.org/10913253/diff/1/ui/aura/root_window_host_linux.cc File ui/aura/root_window_host_linux.cc (right): http://codereview.chromium.org/10913253/diff/1/ui/aura/root_window_host_linux.cc#newcode651 ui/aura/root_window_host_linux.cc:651: return false; i think that we previously returned true ...
8 years, 3 months ago (2012-09-13 19:14:09 UTC) #2
Elliot Glaysher
On 2012/09/13 19:03:21, sadrul wrote: > erg@ FYI (If you get a chance and review/test, ...
8 years, 3 months ago (2012-09-13 19:25:46 UTC) #3
sadrul
When testing on chromeos, I realized the GenericEvents on the root-window also needed to be ...
8 years, 3 months ago (2012-09-13 23:41:24 UTC) #4
sadrul
On 2012/09/13 19:25:46, Elliot Glaysher wrote: > On 2012/09/13 19:03:21, sadrul wrote: > > erg@ ...
8 years, 3 months ago (2012-09-13 23:52:26 UTC) #5
Daniel Erat
lgtm http://codereview.chromium.org/10913253/diff/6002/ui/aura/root_window_host_linux.cc File ui/aura/root_window_host_linux.cc (right): http://codereview.chromium.org/10913253/diff/6002/ui/aura/root_window_host_linux.cc#newcode605 ui/aura/root_window_host_linux.cc:605: void RootWindowHostLinux::DispatchGenericEvent(const base::NativeEvent& event) { nit: i sorta ...
8 years, 3 months ago (2012-09-14 00:14:24 UTC) #6
sadrul
+sky for OWNERS http://codereview.chromium.org/10913253/diff/6002/ui/aura/root_window_host_linux.cc File ui/aura/root_window_host_linux.cc (right): http://codereview.chromium.org/10913253/diff/6002/ui/aura/root_window_host_linux.cc#newcode605 ui/aura/root_window_host_linux.cc:605: void RootWindowHostLinux::DispatchGenericEvent(const base::NativeEvent& event) { On ...
8 years, 3 months ago (2012-09-14 02:09:20 UTC) #7
sky
8 years, 3 months ago (2012-09-14 02:18:56 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698