summaryrefslogtreecommitdiff
path: root/gdk/x11/gdkdisplay-x11.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2003-07-05 15:02:35 +0000
committerOwen Taylor <otaylor@src.gnome.org>2003-07-05 15:02:35 +0000
commitba999da1d8528afdb7cf810e626bd1ab3946ff17 (patch)
tree150cdacc2eaa93c606eb702fbdccf7cc077d7282 /gdk/x11/gdkdisplay-x11.h
parente5561940f2a3720d1c514afdff92cf327236f550 (diff)
downloadgtk+-ba999da1d8528afdb7cf810e626bd1ab3946ff17.tar.gz
Lookup all the atoms in the target list at once.
Sat Jul 5 09:55:38 2003 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkdnd-x11.c (precache_target_list): Lookup all the atoms in the target list at once. * gdk/x11/gdkdnd-x11.c (gdk_drag_get_protocol_for_display): Local drag short-circuit. * gdk/x11/gdkdnd-x11.c (gdk_drag_motion): For the local case, poke the actions in directly instead of going through xdnd_set_actions. * gdk/x11/gdkdnd-x11.c (xdnd_read_actions): Short-circuit the local case. * gdk/x11/gdkdnd-x11.c (xdnd_manage_source_filter): Don't XSelectInput()/add a filter if the drag is local. * gdk/x11/gdkdnd-x11.c (gdk_drag_get_selection): Simplify handling of "XdndSelection". * gdk/x11/gdkevents-x11.c (gdk_event_send_client_message_to_all_recurse): Somehow, a WM_STATE => _NET_WM_STATE change hand been made here. * gdk/x11/gdkproperty-x11.c (_gdk_x11_precache_atoms): Free xatom_names, not atom_names. * tests/testdnd.c (target_drag_motion): Make the trashcan open again. (Got lost in deprecation cleanup.)
Diffstat (limited to 'gdk/x11/gdkdisplay-x11.h')
-rw-r--r--gdk/x11/gdkdisplay-x11.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdk/x11/gdkdisplay-x11.h b/gdk/x11/gdkdisplay-x11.h
index 7e0692d589..1acfe457a5 100644
--- a/gdk/x11/gdkdisplay-x11.h
+++ b/gdk/x11/gdkdisplay-x11.h
@@ -136,6 +136,11 @@ struct _GdkDisplayX11
/* Startup notification */
gchar *startup_notification_id;
+
+ /* Sets of atoms for DND */
+ guint base_dnd_atoms_precached : 1;
+ guint xdnd_atoms_precached : 1;
+ guint motif_atoms_precached : 1;
};
struct _GdkDisplayX11Class