summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@sugarlabs.org>2009-06-19 17:30:37 +0200
committerThomas Thurman <tthurman@gnome.org>2009-07-06 07:51:45 -0400
commitb625ec30d99b2dcf86d8fa78b09f6d04dce3a6e0 (patch)
treea05aa083e8c833a30fc9ecab1fda2443936bc88f /src/include
parentf5313268d7efa217f8d31a6bb442460434917703 (diff)
downloadmetacity-b625ec30d99b2dcf86d8fa78b09f6d04dce3a6e0.tar.gz
metacity-b625ec30d99b2dcf86d8fa78b09f6d04dce3a6e0.tar.bz2
Add a switch to disable autofullscreen'ing maximized windows without decorations
Diffstat (limited to 'src/include')
-rw-r--r--src/include/prefs.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/prefs.h b/src/include/prefs.h
index 2f1ce8e..a4193ff 100644
--- a/src/include/prefs.h
+++ b/src/include/prefs.h
@@ -59,7 +59,8 @@ typedef enum
META_PREF_CURSOR_THEME,
META_PREF_CURSOR_SIZE,
META_PREF_COMPOSITING_MANAGER,
- META_PREF_RESIZE_WITH_RIGHT_BUTTON
+ META_PREF_RESIZE_WITH_RIGHT_BUTTON,
+ META_PREF_FORCE_FULLSCREEN
} MetaPreference;
typedef void (* MetaPrefsChangedFunc) (MetaPreference pref,
@@ -114,6 +115,7 @@ void meta_prefs_change_workspace_name (int i,
const char* meta_prefs_get_cursor_theme (void);
int meta_prefs_get_cursor_size (void);
gboolean meta_prefs_get_compositing_manager (void);
+gboolean meta_prefs_get_force_fullscreen (void);
/**
* Sets whether the compositor is turned on.
@@ -122,6 +124,8 @@ gboolean meta_prefs_get_compositing_manager (void);
*/
void meta_prefs_set_compositing_manager (gboolean whether);
+void meta_prefs_set_force_fullscreen (gboolean whether);
+
/* XXX FIXME This should be x-macroed, but isn't yet because it would be
* difficult (or perhaps impossible) to add the suffixes using the current
* system. It needs some more thought, perhaps after the current system