diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-05-14 13:37:07 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-05-14 13:37:07 +0000 |
commit | acc6a1aa605f2725cac5a541417272cecc8e98c4 (patch) | |
tree | 16c860369c1cc633fa778c249483380b1dd9aec6 /gdk/gdktypes.h | |
parent | c4f723597b27a02b963115a83729916848c6162a (diff) | |
download | gdk-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.h | 4 |
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 |