Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
GNOME
metacity
Commits
03e8e63d
Commit
03e8e63d
authored
Dec 28, 2014
by
Jasper St. Pierre
Committed by
Alberts Muktupāvels
Jan 07, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow raise_on_click to be set independent of focus_mode
Based on a patch by Thomas Jaeger <ThJaeger@gmail.com>
parent
8da07c31
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
src/core/core.c
src/core/core.c
+1
-2
src/core/prefs.c
src/core/prefs.c
+1
-4
No files found.
src/core/core.c
View file @
03e8e63d
...
...
@@ -269,8 +269,7 @@ meta_core_user_lower_and_unfocus (Display *xdisplay,
meta_window_lower
(
window
);
if
(
meta_prefs_get_focus_mode
()
==
G_DESKTOP_FOCUS_MODE_CLICK
&&
meta_prefs_get_raise_on_click
())
if
(
meta_prefs_get_raise_on_click
())
{
/* Move window to the back of the focusing workspace's MRU list.
* Do extra sanity checks to avoid possible race conditions.
...
...
src/core/prefs.c
View file @
03e8e63d
...
...
@@ -924,10 +924,7 @@ meta_prefs_get_attach_modal_dialogs (void)
gboolean
meta_prefs_get_raise_on_click
(
void
)
{
/* Force raise_on_click on for click-to-focus, as requested by Havoc
* in #326156.
*/
return
raise_on_click
||
focus_mode
==
G_DESKTOP_FOCUS_MODE_CLICK
;
return
raise_on_click
;
}
const
char
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment