summaryrefslogtreecommitdiff
path: root/gdk/gdktypes.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2004-05-14 13:37:07 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-05-14 13:37:07 +0000
commitacc6a1aa605f2725cac5a541417272cecc8e98c4 (patch)
tree16c860369c1cc633fa778c249483380b1dd9aec6 /gdk/gdktypes.h
parentc4f723597b27a02b963115a83729916848c6162a (diff)
downloadgdk-pixbuf-acc6a1aa605f2725cac5a541417272cecc8e98c4.tar.gz
Add a comment about unused bits.
2004-05-14 Matthias Clasen <mclasen@redhat.com> * gdk/gdktypes.h (GdkModifierType): Add a comment about unused bits. * gtk/gtkstock.c (real_add, gtk_stock_lookup): Use an unused modifier bit to mark stock item which need to be freed eventually. (#140654, Michal Pasternak, Scott Tsai)
Diffstat (limited to 'gdk/gdktypes.h')
-rw-r--r--gdk/gdktypes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdk/gdktypes.h b/gdk/gdktypes.h
index c454cae80..d9fdcd6ec 100644
--- a/gdk/gdktypes.h
+++ b/gdk/gdktypes.h
@@ -130,7 +130,9 @@ typedef enum
GDK_BUTTON3_MASK = 1 << 10,
GDK_BUTTON4_MASK = 1 << 11,
GDK_BUTTON5_MASK = 1 << 12,
- /* The next few modifiers are used by XKB, so we skip to the end
+ /* The next few modifiers are used by XKB, so we skip to the end.
+ * Bits 16 - 28 are currently unused, but will eventually
+ * be used for "virtual modifiers". Bit 29 is used internally.
*/
GDK_RELEASE_MASK = 1 << 30,
GDK_MODIFIER_MASK = GDK_RELEASE_MASK | 0x1fff