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-15 00:16:59 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-15 00:16:59 +0000
commita8dffcec83c5eba7b9f17b03e0e35f28b44a8d52 (patch)
tree27e7dc26d245d83d5a8b81318d236d19e0ae0c21 /ui/aura/root_window_host_linux.cc
parent06ea3e51e4ca77a6e16f549eff9094c472786f91 (diff)
downloadchromium_src-a8dffcec83c5eba7b9f17b03e0e35f28b44a8d52.zip
chromium_src-a8dffcec83c5eba7b9f17b03e0e35f28b44a8d52.tar.gz
chromium_src-a8dffcec83c5eba7b9f17b03e0e35f28b44a8d52.tar.bz2
Take 2 at: 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 TBR=sadrul@chromium.org Review URL: https://chromiumcodereview.appspot.com/10332141 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137030 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 d9b9cd3..4f42775 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, 0);
+ root_window_->SetCapture(NULL);
break;
case ConfigureNotify: {
DCHECK_EQ(xwindow_, xev->xconfigure.window);