mirror of
https://github.com/brl/mutter.git
synced 2025-02-24 00:44:10 +00:00

2002-01-27 Havoc Pennington <hp@pobox.com> * src/display.c (event_callback): make the check for whether to eat focus click a lot more complicated * src/window.c (meta_window_same_application): new function * src/prefs.h, src/prefs.c: add application based pref * src/metacity.schemas: add "application_based" setting to give me a mode to fool with being application based, without being unusable in the meantime. Yeah the crack flows freely these days. Everyone knew it would happen.
151 lines
5.6 KiB
Plaintext
151 lines
5.6 KiB
Plaintext
<gconfschemafile>
|
|
<schemalist>
|
|
|
|
<!-- General preferences -->
|
|
|
|
<schema>
|
|
<key>/schemas/apps/metacity/general/focus_mode</key>
|
|
<applyto>/apps/metacity/general/focus_mode</applyto>
|
|
<owner>metacity</owner>
|
|
<type>string</type>
|
|
<default>click</default>
|
|
<locale name="C">
|
|
<short>Window focus mode</short>
|
|
<long>
|
|
The window focus mode indicates how windows are activated.
|
|
It has three possible values; "click" means windows must
|
|
be clicked in order to focus them, "sloppy" means windows
|
|
are focused when the mouse enters the window, and "mouse" means
|
|
windows are focused when the mouse enters the window and
|
|
unfocused when the mouse leaves the window.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/apps/metacity/general/titlebar_uses_desktop_font</key>
|
|
<applyto>/apps/metacity/general/titlebar_uses_desktop_font</applyto>
|
|
<owner>metacity</owner>
|
|
<type>bool</type>
|
|
<default>true</default>
|
|
<locale name="C">
|
|
<short>Use standard desktop font in window titles</short>
|
|
<long>
|
|
If true, ignore the titlebar_font and titlebar_font_size
|
|
options, and use the standard application font for window
|
|
titles.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/apps/metacity/general/titlebar_font</key>
|
|
<applyto>/apps/metacity/general/titlebar_font</applyto>
|
|
<owner>metacity</owner>
|
|
<type>string</type>
|
|
<!-- no default is deliberate - we want to be unset by default -->
|
|
<locale name="C">
|
|
<short>Window title font</short>
|
|
<long>
|
|
A font description string describing a font for window
|
|
titlebars. The size from the description
|
|
will only be used if the titlebar_font_size option is set
|
|
to 0, however. Also, this option is disabled if the
|
|
titlebar_uses_desktop_font option is set to true.
|
|
By default, titlebar_font is unset, causing Metacity to fall
|
|
back to the desktop font even if titlebar_uses_desktop_font
|
|
is false.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/apps/metacity/general/titlebar_font_size</key>
|
|
<applyto>/apps/metacity/general/titlebar_font_size</applyto>
|
|
<owner>metacity</owner>
|
|
<type>int</type>
|
|
<default>0</default>
|
|
<locale name="C">
|
|
<short>Window title font size</short>
|
|
<long>
|
|
The size of the font used in window titlebars, in points.
|
|
If set to 0, the size comes from the titlebar_font option
|
|
or from the desktop-wide default. If set to nonzero,
|
|
overrides those sizes.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/apps/metacity/general/num_workspaces</key>
|
|
<applyto>/apps/metacity/general/num_workspaces</applyto>
|
|
<owner>metacity</owner>
|
|
<type>int</type>
|
|
<default>4</default>
|
|
<locale name="C">
|
|
<short>Number of workspaces</short>
|
|
<long>
|
|
Number of workspaces. Must be more than zero, and
|
|
has a fixed maximum (to prevent accidentally destroying
|
|
your desktop by asking for 34 million workspaces).
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<!-- Keybindings -->
|
|
|
|
<schema>
|
|
<key>/schemas/apps/metacity/keybindings/activate_window_menu</key>
|
|
<applyto>/apps/metacity/keybindings/activate_window_menu</applyto>
|
|
<owner>metacity</owner>
|
|
<type>string</type>
|
|
<default><Alt>space</default>
|
|
<locale name="C">
|
|
<short>Activate window menu</short>
|
|
<long>
|
|
The keybinding used to activate the window menu.
|
|
The format looks like "<Control>a" or "<Shift><Alt>F1" or
|
|
"<Release>z" (the last one is for key release). The parser is
|
|
fairly liberal and allows lower or upper case, and also
|
|
abbreviations such as "<Ctl>" and "<Ctrl>". This option can be
|
|
set to a single string, or a list of strings; if a list,
|
|
all of the given keybindings will be present. If you set
|
|
the option to the special string "disabled", then there
|
|
will be no keybinding for this action.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
<schema>
|
|
<key>/schemas/apps/metacity/general/application_based</key>
|
|
<applyto>/apps/metacity/general/application_based</applyto>
|
|
<owner>metacity</owner>
|
|
<type>bool</type>
|
|
<default>false</default>
|
|
<locale name="C">
|
|
<short>Navigation works in terms of applications not windows</short>
|
|
<long>
|
|
If true, then Metacity works in terms of applications rather
|
|
than windows. The concept is a bit abstract, but
|
|
in general an application-based setup is more like
|
|
the Mac and less like Windows. When you focus a window
|
|
in application-based mode, all the windows in the
|
|
application will be raised. Also, in application-based
|
|
mode, focus clicks are not passed through to windows
|
|
in other applications.
|
|
The existence of this setting is somewhat questionable.
|
|
But it's better than having settings for all the specific
|
|
details of application-based vs. window-based, e.g.
|
|
whether to pass through clicks. Also, application-based mode
|
|
is largely unimplemented at the moment.
|
|
</long>
|
|
</locale>
|
|
</schema>
|
|
|
|
</schemalist>
|
|
</gconfschemafile>
|
|
|
|
|
|
|
|
|