Bug 459780 - X11 event compression isn't handling extension events on maemo. r=roc, a=beltzner

This commit is contained in:
Oleg Romashin 2008-11-12 09:58:06 -05:00
parent 58edc35e28
commit f2c8237e7a
2 changed files with 5 additions and 2 deletions

View File

@ -164,7 +164,8 @@ 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_MASK |
GDK_POINTER_MOTION_HINT_MASK);
/* create the inner window */
drawingarea->inner_window = gdk_window_new (drawingarea->clip_window,
&attributes, attributes_mask);

View File

@ -4498,7 +4498,8 @@ nsWindow::GrabPointer(void)
GDK_BUTTON_RELEASE_MASK |
GDK_ENTER_NOTIFY_MASK |
GDK_LEAVE_NOTIFY_MASK |
GDK_POINTER_MOTION_MASK),
GDK_POINTER_MOTION_MASK |
GDK_POINTER_MOTION_HINT_MASK),
(GdkWindow *)NULL, NULL, GDK_CURRENT_TIME);
if (retval != GDK_GRAB_SUCCESS) {
@ -5328,6 +5329,7 @@ motion_notify_event_cb(GtkWidget *widget, GdkEventMotion *event)
window->OnMotionNotifyEvent(widget, event);
gdk_event_request_motions(event);
return TRUE;
}