summaryrefslogtreecommitdiff
path: root/gdk/quartz/gdkproperty-quartz.c
diff options
context:
space:
mode:
authorRichard Hult <richard@imendio.com>2006-03-29 20:34:33 +0000
committerRichard Hult <rhult@src.gnome.org>2006-03-29 20:34:33 +0000
commit31f45bf9aa899ac0ef3bb854668a4ccf86755e7f (patch)
tree930d0b1428292cecbdcc99501d2cd3a8e089d4a9 /gdk/quartz/gdkproperty-quartz.c
parentee04430b40a929cbfce6fb869673bb29b5307c14 (diff)
downloadgdk-pixbuf-31f45bf9aa899ac0ef3bb854668a4ccf86755e7f.tar.gz
Add missing CLIPBOARD atom.
2006-03-29 Richard Hult <richard@imendio.com> * gdk/quartz/gdkproperty-quartz.c: Add missing CLIPBOARD atom.
Diffstat (limited to 'gdk/quartz/gdkproperty-quartz.c')
-rw-r--r--gdk/quartz/gdkproperty-quartz.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gdk/quartz/gdkproperty-quartz.c b/gdk/quartz/gdkproperty-quartz.c
index db1548d4c..d24ea7d5f 100644
--- a/gdk/quartz/gdkproperty-quartz.c
+++ b/gdk/quartz/gdkproperty-quartz.c
@@ -96,7 +96,10 @@ static const gchar xatoms_string[] =
"CAP_HEIGHT\0"
"WM_CLASS\0"
"WM_TRANSIENT_FOR\0"
-;
+ /* Below here, these are our additions. Increment N_CUSTOM_PREDEFINED
+ * if you add any.
+ */
+ "CLIPBOARD\0" /* = 69 */;
static const gint xatoms_offset[] = {
0, 5, 13, 23, 27, 32, 39, 48, 57, 64, 76, 88,
@@ -104,7 +107,7 @@ static const gint xatoms_offset[] = {
222, 236, 249, 262, 278, 291, 305, 317, 324, 333, 340, 351,
360, 378, 391, 404, 412, 428, 442, 456, 466, 477, 487, 497,
511, 525, 537, 549, 568, 588, 605, 623, 636, 645, 656, 663,
- 674, 685, 695, 702, 712, 724, 734, 745, 754
+ 674, 685, 695, 702, 712, 724, 734, 745, 754, 771
};
#define N_CUSTOM_PREDEFINED 1
@@ -165,8 +168,6 @@ gchar *
gdk_atom_name (GdkAtom atom)
{
ensure_atom_tables ();
- //if (!atoms_to_names)
- // return NULL;
if (GPOINTER_TO_INT (atom) >= atoms_to_names->len)
return NULL;