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:
committed by
Arturo Espinosa
parent
63955ec2e2
commit
8a0d67391c
@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user