mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
Use StructureNotifyMaskMask as the mask, as this enables an application
Tue Mar 17 02:02:02 1998 Miguel de Icaza <miguel@nuclecu.unam.mx> * gdk/gdk.c (gdk_dnd_drag_leave): Use StructureNotifyMaskMask as the mask, as this enables an application listening to those events to catch the root events. Thanks to Maciej for pointing us in the right direction. (gdk_dnd_drag_enter): Likewise. (gdk_dnd_drag_leave): Likewise. * gdk/gdkwindow.c (gdk_window_dnd_data_set): Likewise.
This commit is contained in:
parent
63955ec2e2
commit
8a0d67391c
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
Tue Mar 17 02:02:02 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gdk/gdk.c (gdk_dnd_drag_leave): Use StructureNotifyMaskMask as
|
||||
the mask, as this enables an application listening to those events
|
||||
to catch the root events. Thanks to Maciej for pointing us in the
|
||||
right direction.
|
||||
(gdk_dnd_drag_enter): Likewise.
|
||||
(gdk_dnd_drag_leave): Likewise.
|
||||
* gdk/gdkwindow.c (gdk_window_dnd_data_set): Likewise.
|
||||
|
||||
Mon Mar 16 22:31:02 1998 Federico Mena <federico@nuclecu.unam.mx>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_xid_at): Use signed integers so that
|
||||
|
@ -1,3 +1,13 @@
|
||||
Tue Mar 17 02:02:02 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gdk/gdk.c (gdk_dnd_drag_leave): Use StructureNotifyMaskMask as
|
||||
the mask, as this enables an application listening to those events
|
||||
to catch the root events. Thanks to Maciej for pointing us in the
|
||||
right direction.
|
||||
(gdk_dnd_drag_enter): Likewise.
|
||||
(gdk_dnd_drag_leave): Likewise.
|
||||
* gdk/gdkwindow.c (gdk_window_dnd_data_set): Likewise.
|
||||
|
||||
Mon Mar 16 22:31:02 1998 Federico Mena <federico@nuclecu.unam.mx>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_xid_at): Use signed integers so that
|
||||
|
@ -1,3 +1,13 @@
|
||||
Tue Mar 17 02:02:02 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gdk/gdk.c (gdk_dnd_drag_leave): Use StructureNotifyMaskMask as
|
||||
the mask, as this enables an application listening to those events
|
||||
to catch the root events. Thanks to Maciej for pointing us in the
|
||||
right direction.
|
||||
(gdk_dnd_drag_enter): Likewise.
|
||||
(gdk_dnd_drag_leave): Likewise.
|
||||
* gdk/gdkwindow.c (gdk_window_dnd_data_set): Likewise.
|
||||
|
||||
Mon Mar 16 22:31:02 1998 Federico Mena <federico@nuclecu.unam.mx>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_xid_at): Use signed integers so that
|
||||
|
@ -1,3 +1,13 @@
|
||||
Tue Mar 17 02:02:02 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gdk/gdk.c (gdk_dnd_drag_leave): Use StructureNotifyMaskMask as
|
||||
the mask, as this enables an application listening to those events
|
||||
to catch the root events. Thanks to Maciej for pointing us in the
|
||||
right direction.
|
||||
(gdk_dnd_drag_enter): Likewise.
|
||||
(gdk_dnd_drag_leave): Likewise.
|
||||
* gdk/gdkwindow.c (gdk_window_dnd_data_set): Likewise.
|
||||
|
||||
Mon Mar 16 22:31:02 1998 Federico Mena <federico@nuclecu.unam.mx>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_xid_at): Use signed integers so that
|
||||
|
@ -1,3 +1,13 @@
|
||||
Tue Mar 17 02:02:02 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gdk/gdk.c (gdk_dnd_drag_leave): Use StructureNotifyMaskMask as
|
||||
the mask, as this enables an application listening to those events
|
||||
to catch the root events. Thanks to Maciej for pointing us in the
|
||||
right direction.
|
||||
(gdk_dnd_drag_enter): Likewise.
|
||||
(gdk_dnd_drag_leave): Likewise.
|
||||
* gdk/gdkwindow.c (gdk_window_dnd_data_set): Likewise.
|
||||
|
||||
Mon Mar 16 22:31:02 1998 Federico Mena <federico@nuclecu.unam.mx>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_xid_at): Use signed integers so that
|
||||
|
@ -1,3 +1,13 @@
|
||||
Tue Mar 17 02:02:02 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gdk/gdk.c (gdk_dnd_drag_leave): Use StructureNotifyMaskMask as
|
||||
the mask, as this enables an application listening to those events
|
||||
to catch the root events. Thanks to Maciej for pointing us in the
|
||||
right direction.
|
||||
(gdk_dnd_drag_enter): Likewise.
|
||||
(gdk_dnd_drag_leave): Likewise.
|
||||
* gdk/gdkwindow.c (gdk_window_dnd_data_set): Likewise.
|
||||
|
||||
Mon Mar 16 22:31:02 1998 Federico Mena <federico@nuclecu.unam.mx>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_xid_at): Use signed integers so that
|
||||
|
@ -1,3 +1,13 @@
|
||||
Tue Mar 17 02:02:02 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* gdk/gdk.c (gdk_dnd_drag_leave): Use StructureNotifyMaskMask as
|
||||
the mask, as this enables an application listening to those events
|
||||
to catch the root events. Thanks to Maciej for pointing us in the
|
||||
right direction.
|
||||
(gdk_dnd_drag_enter): Likewise.
|
||||
(gdk_dnd_drag_leave): Likewise.
|
||||
* gdk/gdkwindow.c (gdk_window_dnd_data_set): Likewise.
|
||||
|
||||
Mon Mar 16 22:31:02 1998 Federico Mena <federico@nuclecu.unam.mx>
|
||||
|
||||
* gdk/gdkwindow.c (gdk_window_xid_at): Use signed integers so that
|
||||
|
@ -3192,7 +3192,7 @@ gdk_dnd_drag_enter (Window dest)
|
||||
}
|
||||
else
|
||||
sev.xclient.data.l[3] = sev.xclient.data.l[4] = None;
|
||||
if (!gdk_send_xevent (dest, False, NoEventMask, &sev))
|
||||
if (!gdk_send_xevent (dest, False, StructureNotifyMask, &sev))
|
||||
GDK_NOTE (DND, g_print("Sending XdeEnter to %#lx failed\n",
|
||||
dest));
|
||||
}
|
||||
@ -3750,7 +3750,7 @@ gdk_dnd_drag_leave (Window dest)
|
||||
{
|
||||
wp = (GdkWindowPrivate *) gdk_dnd.drag_startwindows[i];
|
||||
sev.xclient.data.l[0] = wp->xwindow;
|
||||
if (!gdk_send_xevent (dest, False, NoEventMask, &sev))
|
||||
if (!gdk_send_xevent (dest, False, StructureNotifyMask, &sev))
|
||||
GDK_NOTE (DND, g_print("Sending XdeLeave to %#lx failed\n",
|
||||
dest));
|
||||
wp->dnd_drag_accepted = 0;
|
||||
|
@ -15,6 +15,7 @@
|
||||
* License along with this library; if not, write to the Free
|
||||
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
#include <X11/Xatom.h>
|
||||
@ -1647,7 +1648,7 @@ gdk_window_dnd_data_set (GdkWindow *window,
|
||||
sev.xclient.data.l[4] = event->dragrequest.timestamp;
|
||||
|
||||
if (!gdk_send_xevent (event->dragrequest.requestor, False,
|
||||
NoEventMask, &sev))
|
||||
StructureNotifyMask, &sev))
|
||||
GDK_NOTE (DND, g_print("Sending XdeDataAvailable to %#x failed\n",
|
||||
event->dragrequest.requestor));
|
||||
|
||||
|
@ -3192,7 +3192,7 @@ gdk_dnd_drag_enter (Window dest)
|
||||
}
|
||||
else
|
||||
sev.xclient.data.l[3] = sev.xclient.data.l[4] = None;
|
||||
if (!gdk_send_xevent (dest, False, NoEventMask, &sev))
|
||||
if (!gdk_send_xevent (dest, False, StructureNotifyMask, &sev))
|
||||
GDK_NOTE (DND, g_print("Sending XdeEnter to %#lx failed\n",
|
||||
dest));
|
||||
}
|
||||
@ -3750,7 +3750,7 @@ gdk_dnd_drag_leave (Window dest)
|
||||
{
|
||||
wp = (GdkWindowPrivate *) gdk_dnd.drag_startwindows[i];
|
||||
sev.xclient.data.l[0] = wp->xwindow;
|
||||
if (!gdk_send_xevent (dest, False, NoEventMask, &sev))
|
||||
if (!gdk_send_xevent (dest, False, StructureNotifyMask, &sev))
|
||||
GDK_NOTE (DND, g_print("Sending XdeLeave to %#lx failed\n",
|
||||
dest));
|
||||
wp->dnd_drag_accepted = 0;
|
||||
|
@ -15,6 +15,7 @@
|
||||
* License along with this library; if not, write to the Free
|
||||
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
#include <X11/Xatom.h>
|
||||
@ -1647,7 +1648,7 @@ gdk_window_dnd_data_set (GdkWindow *window,
|
||||
sev.xclient.data.l[4] = event->dragrequest.timestamp;
|
||||
|
||||
if (!gdk_send_xevent (event->dragrequest.requestor, False,
|
||||
NoEventMask, &sev))
|
||||
StructureNotifyMask, &sev))
|
||||
GDK_NOTE (DND, g_print("Sending XdeDataAvailable to %#x failed\n",
|
||||
event->dragrequest.requestor));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user