diff options
author | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-23 05:56:05 +0000 |
---|---|---|
committer | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-23 05:56:05 +0000 |
commit | 953c213eca4dd064d59574f0950025a5c0ced921 (patch) | |
tree | dad2c2d7a3de2f2e8a505c8f29c256784e1ec085 /base | |
parent | 698f713aaa0e4012421e22801be446328852ba96 (diff) | |
download | chromium_src-953c213eca4dd064d59574f0950025a5c0ced921.zip chromium_src-953c213eca4dd064d59574f0950025a5c0ced921.tar.gz chromium_src-953c213eca4dd064d59574f0950025a5c0ced921.tar.bz2 |
Enable browser_tests on linux_aura.
This patch is two parts:
- Disables some of the remaining failing/flaky tests so we can turn the rest of browser_tests on.
- Fix several places where we try to pass empty sizes to X11.
BUG=167114, 163931, 173621
Review URL: https://chromiumcodereview.appspot.com/11818065
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184284 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/message_pump_aurax11.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/base/message_pump_aurax11.cc b/base/message_pump_aurax11.cc index 9ba7989..8c764d5 100644 --- a/base/message_pump_aurax11.cc +++ b/base/message_pump_aurax11.cc @@ -91,7 +91,14 @@ Window FindEventTarget(const base::NativeEvent& xev) { if (xev->type == GenericEvent && static_cast<XIEvent*>(xev->xcookie.data)->extension == g_xinput_opcode) { target = static_cast<XIDeviceEvent*>(xev->xcookie.data)->event; + } else if (xev->type == MapNotify) { + target = xev->xmap.window; + } else if (xev->type == UnmapNotify) { + target = xev->xunmap.window; } + // TODO(erg): Are there other events that we aren't reacting to properly + // because xev->xany.window != xev->eventname.window? + return target; } |