[stacking] Simplifies the way compositor code has to handle stacking

The compositor now gets handed a GList of MetaWindows when the stacking
gets syncd with the X server.
This commit is contained in:
Robert Bragg
2008-10-30 22:09:48 +00:00
parent 7ec7a8fa44
commit 6d8baea4c2
7 changed files with 46 additions and 252 deletions

View File

@ -1065,6 +1065,9 @@ stack_sync_to_server (MetaStack *stack)
meta_topic (META_DEBUG_STACK, "Syncing window stack to server\n");
stack_ensure_sorted (stack);
meta_compositor_sync_stack (stack->screen->display->compositor,
stack->sorted);
/* Create stacked xwindow arrays.
* Painfully, "stacked" is in bottom-to-top order for the