mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Only remove PropertyNotify events from the stream if they have been
2003-09-10 Matthias Clasen <maclas@gmx.de> * gtk/gtksocket.c (gtk_socket_filter_func): Only remove PropertyNotify events from the stream if they have been handled, in order to enable extending the plug<->socket communication via properties.
This commit is contained in:
parent
3a28082114
commit
87c0d2651c
@ -1,3 +1,10 @@
|
||||
2003-09-10 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtksocket.c (gtk_socket_filter_func): Only remove
|
||||
PropertyNotify events from the stream if they have been handled,
|
||||
in order to enable extending the plug<->socket communication via
|
||||
properties.
|
||||
|
||||
Wed Sep 10 01:06:44 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Big TreeView DnD fixage, makes drops on empty models work, makes
|
||||
|
@ -1,3 +1,10 @@
|
||||
2003-09-10 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtksocket.c (gtk_socket_filter_func): Only remove
|
||||
PropertyNotify events from the stream if they have been handled,
|
||||
in order to enable extending the plug<->socket communication via
|
||||
properties.
|
||||
|
||||
Wed Sep 10 01:06:44 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Big TreeView DnD fixage, makes drops on empty models work, makes
|
||||
|
@ -1,3 +1,10 @@
|
||||
2003-09-10 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtksocket.c (gtk_socket_filter_func): Only remove
|
||||
PropertyNotify events from the stream if they have been handled,
|
||||
in order to enable extending the plug<->socket communication via
|
||||
properties.
|
||||
|
||||
Wed Sep 10 01:06:44 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Big TreeView DnD fixage, makes drops on empty models work, makes
|
||||
|
@ -1,3 +1,10 @@
|
||||
2003-09-10 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtksocket.c (gtk_socket_filter_func): Only remove
|
||||
PropertyNotify events from the stream if they have been handled,
|
||||
in order to enable extending the plug<->socket communication via
|
||||
properties.
|
||||
|
||||
Wed Sep 10 01:06:44 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Big TreeView DnD fixage, makes drops on empty models work, makes
|
||||
|
@ -1,3 +1,10 @@
|
||||
2003-09-10 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtksocket.c (gtk_socket_filter_func): Only remove
|
||||
PropertyNotify events from the stream if they have been handled,
|
||||
in order to enable extending the plug<->socket communication via
|
||||
properties.
|
||||
|
||||
Wed Sep 10 01:06:44 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Big TreeView DnD fixage, makes drops on empty models work, makes
|
||||
|
@ -1389,6 +1389,7 @@ gtk_socket_filter_func (GdkXEvent *gdk_xevent, GdkEvent *event, gpointer data)
|
||||
{
|
||||
socket->have_size = FALSE;
|
||||
gtk_widget_queue_resize (widget);
|
||||
return_val = GDK_FILTER_REMOVE;
|
||||
}
|
||||
else if ((xevent->xproperty.atom == gdk_x11_get_xatom_by_name_for_display (display, "XdndAware")) ||
|
||||
(xevent->xproperty.atom == gdk_x11_get_xatom_by_name_for_display (display, "_MOTIF_DRAG_RECEIVER_INFO")))
|
||||
@ -1403,6 +1404,7 @@ gtk_socket_filter_func (GdkXEvent *gdk_xevent, GdkEvent *event, gpointer data)
|
||||
|
||||
gdk_display_sync (display);
|
||||
gdk_error_trap_pop ();
|
||||
return_val = GDK_FILTER_REMOVE;
|
||||
}
|
||||
else if (xevent->xproperty.atom == gdk_x11_get_xatom_by_name_for_display (display, "_XEMBED_INFO"))
|
||||
{
|
||||
@ -1428,9 +1430,8 @@ gtk_socket_filter_func (GdkXEvent *gdk_xevent, GdkEvent *event, gpointer data)
|
||||
}
|
||||
}
|
||||
}
|
||||
return_val = GDK_FILTER_REMOVE;
|
||||
}
|
||||
|
||||
return_val = GDK_FILTER_REMOVE;
|
||||
}
|
||||
break;
|
||||
case ReparentNotify:
|
||||
|
Loading…
Reference in New Issue
Block a user