summaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-07-14 03:16:41 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-07-14 03:16:41 +0000
commit812f7830849839e0bb562968cc9406f7821f1c19 (patch)
tree20e02998e87839c8a22ba6088b03838feb2277e0 /src/ui.h
parent826a0c4e10c2737ef888d3782eb84cf66747b911 (diff)
downloadmetacity-812f7830849839e0bb562968cc9406f7821f1c19.tar.gz
metacity-812f7830849839e0bb562968cc9406f7821f1c19.tar.bz2
adapt to virtual modifiers (meta_display_process_mapping_event): we need
2002-07-13 Havoc Pennington <hp@pobox.com> * src/keybindings.c: adapt to virtual modifiers (meta_display_process_mapping_event): we need to reload the binding tables now when the modmap changes. * src/prefs.c (update_binding): parse virtual modifiers, not plain modmask * src/common.h (MetaVirtualModifer): new enum * src/ui.c (meta_ui_parse_accelerator): use egg_accelerator_parse_virtual() * src/Makefile.am: add eggaccelerators.[hc] for the virtual accelerator parsing function
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui.h b/src/ui.h
index 5623698..1296338 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -153,9 +153,9 @@ void meta_ui_set_current_theme (const char *name,
gboolean force_reload);
gboolean meta_ui_have_a_theme (void);
-gboolean meta_ui_parse_accelerator (const char *accel,
- unsigned int *keysym,
- unsigned long *mask);
+gboolean meta_ui_parse_accelerator (const char *accel,
+ unsigned int *keysym,
+ MetaVirtualModifier *mask);
#include "tabpopup.h"