summaryrefslogtreecommitdiffstats
path: root/ui/aura/root_window_host_linux.cc
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-14 16:01:16 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-14 16:01:16 +0000
commit3fec83dd87b54f18feb29759a4915948200fa84e (patch)
tree38c6f22cbfabee852f7c7d14ce91891835acb699 /ui/aura/root_window_host_linux.cc
parent9da45cb354b0600cf094ad5b656115c3a1f0b436 (diff)
downloadchromium_src-3fec83dd87b54f18feb29759a4915948200fa84e.zip
chromium_src-3fec83dd87b54f18feb29759a4915948200fa84e.tar.gz
chromium_src-3fec83dd87b54f18feb29759a4915948200fa84e.tar.bz2
Revert 136877 - Changes RootWindow capture code so that we only have one capture
type. Makes gesture generated mouse events use the right mouse generating code so that we generate the correct enter/exit/moved events and update the appropriate state. BUG=115684 TEST=covered by unit tests R=sadrul@chromium.org Review URL: https://chromiumcodereview.appspot.com/10391079 TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10310146 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136878 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/root_window_host_linux.cc')
-rw-r--r--ui/aura/root_window_host_linux.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/aura/root_window_host_linux.cc b/ui/aura/root_window_host_linux.cc
index 4f42775..d9b9cd3 100644
--- a/ui/aura/root_window_host_linux.cc
+++ b/ui/aura/root_window_host_linux.cc
@@ -484,7 +484,7 @@ bool RootWindowHostLinux::Dispatch(const base::NativeEvent& event) {
}
case FocusOut:
if (xev->xfocus.mode != NotifyGrab)
- root_window_->SetCapture(NULL);
+ root_window_->SetCapture(NULL, 0);
break;
case ConfigureNotify: {
DCHECK_EQ(xwindow_, xev->xconfigure.window);