summaryrefslogtreecommitdiff
path: root/gdk/x11
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-05-14 22:15:48 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-05-14 22:15:48 +0000
commit390ad328373bca924d1b9fe77e4cd31dfc7afd8a (patch)
treeecc49938d7269aa75c4fca35b5406395ed8009c6 /gdk/x11
parent7359bb9df8ff01b55e06b91ed1078e28e89a8225 (diff)
downloadgtk+-390ad328373bca924d1b9fe77e4cd31dfc7afd8a.tar.gz
Fix prepending at the start of the list. (#56349, Thomas Leonard.)
Tue May 14 18:13:10 2002 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkdnd-x11.c (gdk_window_cache_filter): Fix prepending at the start of the list. (#56349, Thomas Leonard.) * gtk/gtksignal.h (gtk_signal_disconnect_by_func): Add explicit casts to GSignalMatchType for C++ compatibility. (#77601)
Diffstat (limited to 'gdk/x11')
-rw-r--r--gdk/x11/gdkdnd-x11.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/x11/gdkdnd-x11.c b/gdk/x11/gdkdnd-x11.c
index a387bf5200..e590cfd763 100644
--- a/gdk/x11/gdkdnd-x11.c
+++ b/gdk/x11/gdkdnd-x11.c
@@ -343,6 +343,8 @@ gdk_window_cache_filter (GdkXEvent *xev,
node->prev = above_node->prev;
if (node->prev)
node->prev->next = node;
+ else
+ cache->children = node;
node->next = above_node;
above_node->prev = node;
}