summaryrefslogtreecommitdiffstats
path: root/views/window
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-19 23:26:44 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-19 23:26:44 +0000
commitfaeaa946158d500de841248de8a0caab3d597309 (patch)
tree684918c2a0e34fe8f3c6cbbdf9ed2ab8ba8e0217 /views/window
parent2c0494456175ace10c2d83ddaab9aa4f5b0ed0cd (diff)
downloadchromium_src-faeaa946158d500de841248de8a0caab3d597309.zip
chromium_src-faeaa946158d500de841248de8a0caab3d597309.tar.gz
chromium_src-faeaa946158d500de841248de8a0caab3d597309.tar.bz2
Fixes delivery of mouse events in WidgetGtk. Also fixes GetRootWidget
and GetWidget to match windows. BUG=none TEST=none Review URL: http://codereview.chromium.org/113603 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16431 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window')
-rw-r--r--views/window/window_gtk.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/views/window/window_gtk.cc b/views/window/window_gtk.cc
index 06558ae..2a74706 100644
--- a/views/window/window_gtk.cc
+++ b/views/window/window_gtk.cc
@@ -176,6 +176,7 @@ WindowGtk::WindowGtk(WindowDelegate* window_delegate)
is_modal_(false),
window_delegate_(window_delegate),
non_client_view_(new NonClientView(this)) {
+ is_window_ = true;
window_delegate_->window_.reset(this);
}