зеркало из https://github.com/mozilla/pjs.git
Backed out changeset 23ac0ea522e8 due to old Gtk used on boxes and makes it burn
This commit is contained in:
Родитель
62747013f7
Коммит
a69d2db7f8
|
@ -164,8 +164,7 @@ moz_drawingarea_create_windows (MozDrawingarea *drawingarea, GdkWindow *parent,
|
||||||
GDK_VISIBILITY_NOTIFY_MASK |
|
GDK_VISIBILITY_NOTIFY_MASK |
|
||||||
GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK |
|
GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK |
|
||||||
GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_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 */
|
/* create the inner window */
|
||||||
drawingarea->inner_window = gdk_window_new (drawingarea->clip_window,
|
drawingarea->inner_window = gdk_window_new (drawingarea->clip_window,
|
||||||
&attributes, attributes_mask);
|
&attributes, attributes_mask);
|
||||||
|
|
|
@ -4498,8 +4498,7 @@ nsWindow::GrabPointer(void)
|
||||||
GDK_BUTTON_RELEASE_MASK |
|
GDK_BUTTON_RELEASE_MASK |
|
||||||
GDK_ENTER_NOTIFY_MASK |
|
GDK_ENTER_NOTIFY_MASK |
|
||||||
GDK_LEAVE_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);
|
(GdkWindow *)NULL, NULL, GDK_CURRENT_TIME);
|
||||||
|
|
||||||
if (retval != GDK_GRAB_SUCCESS) {
|
if (retval != GDK_GRAB_SUCCESS) {
|
||||||
|
@ -5329,7 +5328,6 @@ motion_notify_event_cb(GtkWidget *widget, GdkEventMotion *event)
|
||||||
|
|
||||||
window->OnMotionNotifyEvent(widget, event);
|
window->OnMotionNotifyEvent(widget, event);
|
||||||
|
|
||||||
gdk_event_request_motions(event);
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче