summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorThomas James Alexander Thurman <tthurman@src.gnome.org>2009-01-27 21:05:42 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2009-01-27 21:05:42 +0000
commit0a172cc053d019612e672d7e943e7f466fb3866a (patch)
treede64c64bcd41604c3f6f4e8528de421941286b74 /src/include
parentf5fa4a386690180e029ccd471c60874ae3d07c47 (diff)
downloadmetacity-0a172cc053d019612e672d7e943e7f466fb3866a.tar.gz
metacity-0a172cc053d019612e672d7e943e7f466fb3866a.tar.bz2
Added a gconf key to swap the meanings of the right and
middle buttons when the modifier key is held down. Closes #437910. Thanks to Matt Kraai for looking over the patch. * src/core/display.c: * src/core/prefs.c: * src/include/prefs.h: * src/metacity.schemas.in.in: svn path=/trunk/; revision=4091
Diffstat (limited to 'src/include')
-rw-r--r--src/include/prefs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/prefs.h b/src/include/prefs.h
index 5acad23..2f1ce8e 100644
--- a/src/include/prefs.h
+++ b/src/include/prefs.h
@@ -58,7 +58,8 @@ typedef enum
META_PREF_GNOME_ANIMATIONS,
META_PREF_CURSOR_THEME,
META_PREF_CURSOR_SIZE,
- META_PREF_COMPOSITING_MANAGER
+ META_PREF_COMPOSITING_MANAGER,
+ META_PREF_RESIZE_WITH_RIGHT_BUTTON
} MetaPreference;
typedef void (* MetaPrefsChangedFunc) (MetaPreference pref,
@@ -73,6 +74,8 @@ void meta_prefs_init (void);
const char* meta_preference_to_string (MetaPreference pref);
MetaVirtualModifier meta_prefs_get_mouse_button_mods (void);
+guint meta_prefs_get_mouse_button_resize (void);
+guint meta_prefs_get_mouse_button_menu (void);
MetaFocusMode meta_prefs_get_focus_mode (void);
MetaFocusNewWindows meta_prefs_get_focus_new_windows (void);
gboolean meta_prefs_get_raise_on_click (void);