Random debugging fixed this bug: There is no need to set the ExposureMask
1998-04-28 Miguel de Icaza <miguel@nuclecu.unam.mx> * gdk/gdk.c (gdk_event_translate): Random debugging fixed this bug: There is no need to set the ExposureMask in the XGrabPointer (this caused DnD programs to crash).
This commit is contained in:
parent
187dbc0ce7
commit
32e8dc45b0
@ -1,3 +1,9 @@
|
|||||||
|
1998-04-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
|
* gdk/gdk.c (gdk_event_translate): Random debugging fixed this
|
||||||
|
bug: There is no need to set the ExposureMask in the XGrabPointer
|
||||||
|
(this caused DnD programs to crash).
|
||||||
|
|
||||||
Fri Apr 24 01:29:04 1998 Tim Janik <timj@gtk.org>
|
Fri Apr 24 01:29:04 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkaccelerator.h (struct _GtkAcceleratorTable): changed ref_count
|
* gtk/gtkaccelerator.h (struct _GtkAcceleratorTable): changed ref_count
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
1998-04-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
|
* gdk/gdk.c (gdk_event_translate): Random debugging fixed this
|
||||||
|
bug: There is no need to set the ExposureMask in the XGrabPointer
|
||||||
|
(this caused DnD programs to crash).
|
||||||
|
|
||||||
Fri Apr 24 01:29:04 1998 Tim Janik <timj@gtk.org>
|
Fri Apr 24 01:29:04 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkaccelerator.h (struct _GtkAcceleratorTable): changed ref_count
|
* gtk/gtkaccelerator.h (struct _GtkAcceleratorTable): changed ref_count
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
1998-04-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
|
* gdk/gdk.c (gdk_event_translate): Random debugging fixed this
|
||||||
|
bug: There is no need to set the ExposureMask in the XGrabPointer
|
||||||
|
(this caused DnD programs to crash).
|
||||||
|
|
||||||
Fri Apr 24 01:29:04 1998 Tim Janik <timj@gtk.org>
|
Fri Apr 24 01:29:04 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkaccelerator.h (struct _GtkAcceleratorTable): changed ref_count
|
* gtk/gtkaccelerator.h (struct _GtkAcceleratorTable): changed ref_count
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
1998-04-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
|
* gdk/gdk.c (gdk_event_translate): Random debugging fixed this
|
||||||
|
bug: There is no need to set the ExposureMask in the XGrabPointer
|
||||||
|
(this caused DnD programs to crash).
|
||||||
|
|
||||||
Fri Apr 24 01:29:04 1998 Tim Janik <timj@gtk.org>
|
Fri Apr 24 01:29:04 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkaccelerator.h (struct _GtkAcceleratorTable): changed ref_count
|
* gtk/gtkaccelerator.h (struct _GtkAcceleratorTable): changed ref_count
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
1998-04-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
|
* gdk/gdk.c (gdk_event_translate): Random debugging fixed this
|
||||||
|
bug: There is no need to set the ExposureMask in the XGrabPointer
|
||||||
|
(this caused DnD programs to crash).
|
||||||
|
|
||||||
Fri Apr 24 01:29:04 1998 Tim Janik <timj@gtk.org>
|
Fri Apr 24 01:29:04 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkaccelerator.h (struct _GtkAcceleratorTable): changed ref_count
|
* gtk/gtkaccelerator.h (struct _GtkAcceleratorTable): changed ref_count
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
1998-04-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
|
* gdk/gdk.c (gdk_event_translate): Random debugging fixed this
|
||||||
|
bug: There is no need to set the ExposureMask in the XGrabPointer
|
||||||
|
(this caused DnD programs to crash).
|
||||||
|
|
||||||
Fri Apr 24 01:29:04 1998 Tim Janik <timj@gtk.org>
|
Fri Apr 24 01:29:04 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkaccelerator.h (struct _GtkAcceleratorTable): changed ref_count
|
* gtk/gtkaccelerator.h (struct _GtkAcceleratorTable): changed ref_count
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
1998-04-28 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||||
|
|
||||||
|
* gdk/gdk.c (gdk_event_translate): Random debugging fixed this
|
||||||
|
bug: There is no need to set the ExposureMask in the XGrabPointer
|
||||||
|
(this caused DnD programs to crash).
|
||||||
|
|
||||||
Fri Apr 24 01:29:04 1998 Tim Janik <timj@gtk.org>
|
Fri Apr 24 01:29:04 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkaccelerator.h (struct _GtkAcceleratorTable): changed ref_count
|
* gtk/gtkaccelerator.h (struct _GtkAcceleratorTable): changed ref_count
|
||||||
|
@ -2329,11 +2329,11 @@ gdk_event_translate (GdkEvent *event,
|
|||||||
gdk_dnd_drag_addwindow((GdkWindow *) gdk_dnd.real_sw);
|
gdk_dnd_drag_addwindow((GdkWindow *) gdk_dnd.real_sw);
|
||||||
gdk_dnd_drag_begin((GdkWindow *) gdk_dnd.real_sw);
|
gdk_dnd_drag_begin((GdkWindow *) gdk_dnd.real_sw);
|
||||||
xgpret =
|
xgpret =
|
||||||
XGrabPointer(gdk_display, gdk_dnd.real_sw->xwindow, False,
|
XGrabPointer(gdk_display, gdk_dnd.real_sw->xwindow, True,
|
||||||
ButtonMotionMask | PointerMotionMask |
|
ButtonMotionMask | PointerMotionMask |
|
||||||
/* PointerMotionHintMask | */ /* HINTME */
|
/* PointerMotionHintMask | */ /* HINTME */
|
||||||
ButtonPressMask | ButtonReleaseMask | ExposureMask,
|
ButtonPressMask | ButtonReleaseMask,
|
||||||
GrabModeAsync, GrabModeAsync, gdk_root_window,
|
GrabModeAsync, GrabModeAsync, None,
|
||||||
None, CurrentTime);
|
None, CurrentTime);
|
||||||
#ifdef G_ENABLE_DEBUG
|
#ifdef G_ENABLE_DEBUG
|
||||||
GDK_NOTE(DND, g_print("xgpret = %d\n", xgpret));
|
GDK_NOTE(DND, g_print("xgpret = %d\n", xgpret));
|
||||||
|
@ -2329,11 +2329,11 @@ gdk_event_translate (GdkEvent *event,
|
|||||||
gdk_dnd_drag_addwindow((GdkWindow *) gdk_dnd.real_sw);
|
gdk_dnd_drag_addwindow((GdkWindow *) gdk_dnd.real_sw);
|
||||||
gdk_dnd_drag_begin((GdkWindow *) gdk_dnd.real_sw);
|
gdk_dnd_drag_begin((GdkWindow *) gdk_dnd.real_sw);
|
||||||
xgpret =
|
xgpret =
|
||||||
XGrabPointer(gdk_display, gdk_dnd.real_sw->xwindow, False,
|
XGrabPointer(gdk_display, gdk_dnd.real_sw->xwindow, True,
|
||||||
ButtonMotionMask | PointerMotionMask |
|
ButtonMotionMask | PointerMotionMask |
|
||||||
/* PointerMotionHintMask | */ /* HINTME */
|
/* PointerMotionHintMask | */ /* HINTME */
|
||||||
ButtonPressMask | ButtonReleaseMask | ExposureMask,
|
ButtonPressMask | ButtonReleaseMask,
|
||||||
GrabModeAsync, GrabModeAsync, gdk_root_window,
|
GrabModeAsync, GrabModeAsync, None,
|
||||||
None, CurrentTime);
|
None, CurrentTime);
|
||||||
#ifdef G_ENABLE_DEBUG
|
#ifdef G_ENABLE_DEBUG
|
||||||
GDK_NOTE(DND, g_print("xgpret = %d\n", xgpret));
|
GDK_NOTE(DND, g_print("xgpret = %d\n", xgpret));
|
||||||
|
Loading…
Reference in New Issue
Block a user