summaryrefslogtreecommitdiff
path: root/src/include/prefs.h
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-02-20 21:59:56 +0100
committerStefano Karapetsas <[email protected]>2013-02-20 21:59:56 +0100
commit7587daf105c72f55916a82b34ae0f58cfd592c42 (patch)
tree1b5bfa07dedfc2165af4fb17c315befdeef35584 /src/include/prefs.h
parent737c9e0cd5817617551bb02a48700404b0e7e2e9 (diff)
downloadmarco-7587daf105c72f55916a82b34ae0f58cfd592c42.tar.bz2
marco-7587daf105c72f55916a82b34ae0f58cfd592c42.tar.xz
Add option to open new windows on the center of the screen
Adapted from patch by Chad Glendenin available at: http://chad.glendenin.com/metacity/patch.html Closes: http://chad.glendenin.com/metacity/patch.html
Diffstat (limited to 'src/include/prefs.h')
-rw-r--r--src/include/prefs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/prefs.h b/src/include/prefs.h
index 276f7af6..2b7cfe41 100644
--- a/src/include/prefs.h
+++ b/src/include/prefs.h
@@ -62,6 +62,7 @@ typedef enum
META_PREF_COMPOSITING_MANAGER,
META_PREF_COMPOSITING_FAST_ALT_TAB,
META_PREF_RESIZE_WITH_RIGHT_BUTTON,
+ META_PREF_CENTER_NEW_WINDOWS,
META_PREF_FORCE_FULLSCREEN
} MetaPreference;
@@ -119,6 +120,7 @@ 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_compositing_fast_alt_tab (void);
+gboolean meta_prefs_get_center_new_windows (void);
gboolean meta_prefs_get_force_fullscreen (void);
/**
@@ -130,6 +132,8 @@ void meta_prefs_set_compositing_manager (gboolean whether);
void meta_prefs_set_compositing_fast_alt_tab (gboolean whether);
+void meta_prefs_set_center_new_windows (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