From a69d2db7f8bbce2c3ab9c7504f1ab7212417ce1f Mon Sep 17 00:00:00 2001 From: Oleg Romashin Date: Wed, 12 Nov 2008 10:10:55 -0500 Subject: [PATCH] Backed out changeset 23ac0ea522e8 due to old Gtk used on boxes and makes it burn --- widget/src/gtk2/mozdrawingarea.c | 3 +-- widget/src/gtk2/nsWindow.cpp | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/widget/src/gtk2/mozdrawingarea.c b/widget/src/gtk2/mozdrawingarea.c index 795c4801233..24a0838978a 100644 --- a/widget/src/gtk2/mozdrawingarea.c +++ b/widget/src/gtk2/mozdrawingarea.c @@ -164,8 +164,7 @@ moz_drawingarea_create_windows (MozDrawingarea *drawingarea, GdkWindow *parent, GDK_VISIBILITY_NOTIFY_MASK | GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | - GDK_POINTER_MOTION_MASK | - GDK_POINTER_MOTION_HINT_MASK); + GDK_POINTER_MOTION_MASK); /* create the inner window */ drawingarea->inner_window = gdk_window_new (drawingarea->clip_window, &attributes, attributes_mask); diff --git a/widget/src/gtk2/nsWindow.cpp b/widget/src/gtk2/nsWindow.cpp index f7662e19560..224b3fedea8 100644 --- a/widget/src/gtk2/nsWindow.cpp +++ b/widget/src/gtk2/nsWindow.cpp @@ -4498,8 +4498,7 @@ nsWindow::GrabPointer(void) GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK | - GDK_POINTER_MOTION_MASK | - GDK_POINTER_MOTION_HINT_MASK), + GDK_POINTER_MOTION_MASK), (GdkWindow *)NULL, NULL, GDK_CURRENT_TIME); if (retval != GDK_GRAB_SUCCESS) { @@ -5329,7 +5328,6 @@ motion_notify_event_cb(GtkWidget *widget, GdkEventMotion *event) window->OnMotionNotifyEvent(widget, event); - gdk_event_request_motions(event); return TRUE; }