Commit 03e8e63d authored by Jasper St. Pierre's avatar Jasper St. Pierre Committed by Alberts Muktupāvels

Allow raise_on_click to be set independent of focus_mode

Based on a patch by Thomas Jaeger <ThJaeger@gmail.com>
parent 8da07c31
......@@ -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.
......
......@@ -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*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment