mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
re-enable the FOCUSED_WINDOW layer, should now work correctly.
2002-09-28 Havoc Pennington <hp@pobox.com> * src/stack.c (get_standalone_layer): re-enable the FOCUSED_WINDOW layer, should now work correctly.
This commit is contained in:
parent
08ddfbb884
commit
f37245ace2
@ -1,3 +1,8 @@
|
|||||||
|
2002-09-28 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
|
* src/stack.c (get_standalone_layer): re-enable the FOCUSED_WINDOW
|
||||||
|
layer, should now work correctly.
|
||||||
|
|
||||||
2002-09-28 Havoc Pennington <hp@pobox.com>
|
2002-09-28 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* src/window.c, src/stack.c: Rewrite stack code to work a lot
|
* src/window.c, src/stack.c: Rewrite stack code to work a lot
|
||||||
|
10
src/stack.c
10
src/stack.c
@ -199,17 +199,11 @@ 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;
|
||||||
#endif
|
else if (window->fullscreen)
|
||||||
if (window->fullscreen)
|
|
||||||
layer = META_LAYER_FULLSCREEN;
|
layer = META_LAYER_FULLSCREEN;
|
||||||
else
|
else
|
||||||
layer = META_LAYER_NORMAL;
|
layer = META_LAYER_NORMAL;
|
||||||
@ -747,7 +741,7 @@ meta_stack_sync_to_server (MetaStack *stack)
|
|||||||
else
|
else
|
||||||
g_array_append_val (root_children_stacked, w->xwindow);
|
g_array_append_val (root_children_stacked, w->xwindow);
|
||||||
|
|
||||||
meta_topic (META_DEBUG_STACK, "%d) %s ", w->stack_position, w->desc);
|
meta_topic (META_DEBUG_STACK, "%d:%d - %s ", w->layer, w->stack_position, w->desc);
|
||||||
|
|
||||||
tmp = tmp->next;
|
tmp = tmp->next;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user