mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
Temporarily disable use of the FOCUSED_WINDOW layer, because given the
2002-09-27 Havoc Pennington <hp@pobox.com> * src/stack.c (get_standalone_layer): Temporarily disable use of the FOCUSED_WINDOW layer, because given the fact that moving multiple windows into the same layer changes the Z-order of those windows, it was breaking click-to-focus.
This commit is contained in:
parent
6c325e9070
commit
2926f0a501
@ -1,3 +1,10 @@
|
|||||||
|
2002-09-27 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
|
* src/stack.c (get_standalone_layer): Temporarily disable use of
|
||||||
|
the FOCUSED_WINDOW layer, because given the fact that moving
|
||||||
|
multiple windows into the same layer changes the Z-order of those
|
||||||
|
windows, it was breaking click-to-focus.
|
||||||
|
|
||||||
2002-09-27 Havoc Pennington <hp@pobox.com>
|
2002-09-27 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* src/screen.c (meta_screen_focus_top_window): raise the focused
|
* src/screen.c (meta_screen_focus_top_window): raise the focused
|
||||||
|
@ -280,10 +280,17 @@ get_standalone_layer (MetaWindow *window)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
#if 0
|
||||||
|
/* FIXME this is disabled due to the FIXME below
|
||||||
|
* about how moving multiple windows between layers randomly
|
||||||
|
* rearranges their Z-order
|
||||||
|
*/
|
||||||
|
|
||||||
if (window->has_focus &&
|
if (window->has_focus &&
|
||||||
meta_prefs_get_focus_mode () == META_FOCUS_MODE_CLICK)
|
meta_prefs_get_focus_mode () == META_FOCUS_MODE_CLICK)
|
||||||
layer = META_LAYER_FOCUSED_WINDOW;
|
layer = META_LAYER_FOCUSED_WINDOW;
|
||||||
else if (window->fullscreen)
|
#endif
|
||||||
|
if (window->fullscreen)
|
||||||
layer = META_LAYER_FULLSCREEN;
|
layer = META_LAYER_FULLSCREEN;
|
||||||
else
|
else
|
||||||
layer = META_LAYER_NORMAL;
|
layer = META_LAYER_NORMAL;
|
||||||
|
Loading…
Reference in New Issue
Block a user