summaryrefslogtreecommitdiffstats
path: root/views/screen_gtk.cc
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-16 20:23:58 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-16 20:23:58 +0000
commit8374eafe188529606256db18fe92ae4f29d736cf (patch)
treed371f2079d236698a898d960703f06390093c5d4 /views/screen_gtk.cc
parent09b8f82f39b2e3613a4518d9390004522e432063 (diff)
downloadchromium_src-8374eafe188529606256db18fe92ae4f29d736cf.zip
chromium_src-8374eafe188529606256db18fe92ae4f29d736cf.tar.gz
chromium_src-8374eafe188529606256db18fe92ae4f29d736cf.tar.bz2
Improved tab overview animations with better animation and wiring to
message loop. BUG=none TEST=none Review URL: http://codereview.chromium.org/126185 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18523 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/screen_gtk.cc')
-rw-r--r--views/screen_gtk.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/screen_gtk.cc b/views/screen_gtk.cc
index 964d580..efb8775 100644
--- a/views/screen_gtk.cc
+++ b/views/screen_gtk.cc
@@ -11,7 +11,7 @@ namespace views {
// static
gfx::Point Screen::GetCursorScreenPoint() {
gint x, y;
- gdk_display_get_pointer(NULL, NULL, &x, &y, NULL);
+ gdk_display_get_pointer(gdk_display_get_default(), NULL, &x, &y, NULL);
return gfx::Point(x, y);
}