summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorThomas Thurman <tthurman@gnome.org>2008-08-31 22:55:18 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2008-08-31 22:55:18 +0000
commit5128bd4f2884ff625b945ccff5947a2330242b2f (patch)
tree4782eea0e307caccdf4fe0b2c994e7f4f94d7909 /src/include
parent9c82331009a4c4bca4938b1e903f9a7d8f4c31b5 (diff)
downloadmetacity-5128bd4f2884ff625b945ccff5947a2330242b2f.tar.gz
metacity-5128bd4f2884ff625b945ccff5947a2330242b2f.tar.bz2
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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/prefs.h b/src/include/prefs.h
index d6ccaac..3e18853 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"