summaryrefslogtreecommitdiff
path: root/src/prefs.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-05-01 03:23:46 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-05-01 03:23:46 +0000
commit03481ae2d08f5ad0d69f13bd43863db6f91de599 (patch)
treec407ccd77a9e57b0e600f383f4c248186573488c /src/prefs.h
parent17b4eab4d44b34134f8b9f89fff4c4411205fdc9 (diff)
downloadmetacity-03481ae2d08f5ad0d69f13bd43863db6f91de599.tar.gz
metacity-03481ae2d08f5ad0d69f13bd43863db6f91de599.tar.bz2
don't try to decorate toolbars.
2002-04-30 Havoc Pennington <hp@pobox.com> * src/window.c (recalc_window_features): don't try to decorate toolbars. * src/tools/metacity-window-demo.c: add menu and toolbar tests * src/place.c (meta_window_place): only dialogs should be centered over parent, not anything with transient for set. * src/window.c (meta_window_configure_request): become more fascist about window positioning if workarounds are disabled, and less fascist if they are enabled. * src/metacity.schemas: add a "disable_workarounds" option. Kind of crack-smoking. But we just can't get all applications fixed. And I need no-workarounds mode to monitor which apps are broken and what needs fixing in specs. * src/window.c (meta_window_configure_request): always allow windows to resize themselves * src/keybindings.c (reload_modmap): don't filter out Mode_switch, apparently some people bind window manager shortcuts to that.
Diffstat (limited to 'src/prefs.h')
-rw-r--r--src/prefs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/prefs.h b/src/prefs.h
index 2b94ee7..d808cb7 100644
--- a/src/prefs.h
+++ b/src/prefs.h
@@ -35,7 +35,8 @@ typedef enum
META_PREF_NUM_WORKSPACES,
META_PREF_APPLICATION_BASED,
META_PREF_WINDOW_KEYBINDINGS,
- META_PREF_SCREEN_KEYBINDINGS
+ META_PREF_SCREEN_KEYBINDINGS,
+ META_PREF_DISABLE_WORKAROUNDS
} MetaPreference;
typedef void (* MetaPrefsChangedFunc) (MetaPreference pref,
@@ -57,6 +58,7 @@ const PangoFontDescription* meta_prefs_get_titlebar_font (void);
int meta_prefs_get_titlebar_font_size (void);
int meta_prefs_get_num_workspaces (void);
gboolean meta_prefs_get_application_based (void);
+gboolean meta_prefs_get_disable_workarounds (void);
void meta_prefs_set_num_workspaces (int n_workspaces);