From 7587daf105c72f55916a82b34ae0f58cfd592c42 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 20 Feb 2013 21:59:56 +0100 Subject: 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 --- src/include/prefs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/include') 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 -- cgit v1.2.1