mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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_begin((GdkWindow *) gdk_dnd.real_sw);
|
||||
xgpret =
|
||||
XGrabPointer(gdk_display, gdk_dnd.real_sw->xwindow, False,
|
||||
XGrabPointer(gdk_display, gdk_dnd.real_sw->xwindow, True,
|
||||
ButtonMotionMask | PointerMotionMask |
|
||||
/* PointerMotionHintMask | */ /* HINTME */
|
||||
ButtonPressMask | ButtonReleaseMask | ExposureMask,
|
||||
GrabModeAsync, GrabModeAsync, gdk_root_window,
|
||||
ButtonPressMask | ButtonReleaseMask,
|
||||
GrabModeAsync, GrabModeAsync, None,
|
||||
None, CurrentTime);
|
||||
#ifdef G_ENABLE_DEBUG
|
||||
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_begin((GdkWindow *) gdk_dnd.real_sw);
|
||||
xgpret =
|
||||
XGrabPointer(gdk_display, gdk_dnd.real_sw->xwindow, False,
|
||||
XGrabPointer(gdk_display, gdk_dnd.real_sw->xwindow, True,
|
||||
ButtonMotionMask | PointerMotionMask |
|
||||
/* PointerMotionHintMask | */ /* HINTME */
|
||||
ButtonPressMask | ButtonReleaseMask | ExposureMask,
|
||||
GrabModeAsync, GrabModeAsync, gdk_root_window,
|
||||
ButtonPressMask | ButtonReleaseMask,
|
||||
GrabModeAsync, GrabModeAsync, None,
|
||||
None, CurrentTime);
|
||||
#ifdef G_ENABLE_DEBUG
|
||||
GDK_NOTE(DND, g_print("xgpret = %d\n", xgpret));
|
||||
|
Loading…
Reference in New Issue
Block a user