Index: content/browser/renderer_host/render_widget_host_gtk.cc |
diff --git a/content/browser/renderer_host/render_widget_host_gtk.cc b/content/browser/renderer_host/render_widget_host_gtk.cc |
index b7dd333bf5be8830824abc14d83c9f8e9ba37ec7..7233ba06ed18f0b14ea5268e3b6171de3a5ff0e2 100644 |
--- a/content/browser/renderer_host/render_widget_host_gtk.cc |
+++ b/content/browser/renderer_host/render_widget_host_gtk.cc |
@@ -28,7 +28,7 @@ void RenderWidgetHost::OnMsgGetScreenInfo(gfx::NativeViewId view, |
gdk_window = widget->window; |
} else { |
GdkDisplay* display = gdk_display_get_default(); |
- gdk_window = gdk_display_get_window_at_pointer(display, NULL, NULL); |
+ gdk_window = gdk_display_get_default_group(display); |
} |
if (!gdk_window) |
return; |