summaryrefslogtreecommitdiff
path: root/src/metacity.schemas
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/metacity.schemas
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/metacity.schemas')
-rw-r--r--src/metacity.schemas35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/metacity.schemas b/src/metacity.schemas
index e772418..9b0a5be 100644
--- a/src/metacity.schemas
+++ b/src/metacity.schemas
@@ -1173,6 +1173,41 @@ you set
</locale>
</schema>
+ <schema>
+ <key>/schemas/apps/metacity/general/disable_workarounds</key>
+ <applyto>/apps/metacity/general/disable_workarounds</applyto>
+ <owner>metacity</owner>
+ <type>bool</type>
+ <default>false</default>
+ <locale name="C">
+ <short>Disable misfeatures that are required by old or broken
+ applications</short>
+ <long>
+ Some applications break specifications in ways that result
+ in window manager misfeatures. For example, ideally Metacity
+ would place all dialogs in a consistent position with
+ respect to their parent window. This requires ignoring
+ application-specified positions for dialogs. But some
+ versions of Java/Swing mark their popup menus as dialogs,
+ so Metacity has to disable dialog positioning to allow
+ menus to work in broken Java applications. There are
+ several other examples like this.
+
+ This option puts Metacity in full-on Correct mode, which
+ perhaps gives a moderately nicer UI if you don't need to run
+ any broken apps. Sadly, workarounds must be enabled by
+ default; the real world is an ugly place.
+
+ Some of the workarounds are workarounds for limitations in
+ the specifications themselves, so sometimes a bug
+ in no-workarounds mode won't be fixable without
+ amending a spec.
+ </long>
+
+ </locale>
+ </schema>
+
+
</schemalist>
</gconfschemafile>