зеркало из https://github.com/mozilla/gecko-dev.git
Bug 459780 - X11 event compression isn't handling extension events on maemo. r=roc, a=beltzner
This commit is contained in:
Родитель
7067b0d947
Коммит
38f13548ef
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче