diff options
author | Thomas Thurman <tthurman@gnome.org> | 2008-08-31 22:55:18 +0000 |
---|---|---|
committer | Thomas James Alexander Thurman <tthurman@src.gnome.org> | 2008-08-31 22:55:18 +0000 |
commit | 5128bd4f2884ff625b945ccff5947a2330242b2f (patch) | |
tree | 4782eea0e307caccdf4fe0b2c994e7f4f94d7909 /src/include | |
parent | 9c82331009a4c4bca4938b1e903f9a7d8f4c31b5 (diff) | |
download | metacity-5128bd4f2884ff625b945ccff5947a2330242b2f.tar.gz |
new function. turn the compositing manager on or off as necessary.
2008-08-31 Thomas Thurman <tthurman@gnome.org>
* src/core/prefs.[ch] (meta_prefs_set_compositing_manager): new
function.
* src/core/main.c (meta_parse_options): turn the compositing
manager on or off as necessary.
svn path=/trunk/; revision=3838
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/prefs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/prefs.h b/src/include/prefs.h index d6ccaac8..3e188531 100644 --- a/src/include/prefs.h +++ b/src/include/prefs.h @@ -113,6 +113,13 @@ const char* meta_prefs_get_cursor_theme (void); int meta_prefs_get_cursor_size (void); gboolean meta_prefs_get_compositing_manager (void); +/** + * Sets whether the compositor is turned on. + * + * \param whether TRUE to turn on, FALSE to turn off + */ +void meta_prefs_set_compositing_manager (gboolean whether); + /* Screen bindings */ #define META_KEYBINDING_WORKSPACE_1 "switch_to_workspace_1" #define META_KEYBINDING_WORKSPACE_2 "switch_to_workspace_2" |