fix to keep desktop window from appearing on top of everything else, among

2001-10-22  Havoc Pennington  <hp@pobox.com>

	* src/stack.c (meta_stack_sync_to_server): fix to keep desktop
	window from appearing on top of everything else, among other stack
	bugs. Untested.
This commit is contained in:
Havoc Pennington 2001-10-23 00:55:29 +00:00 committed by Havoc Pennington
parent 01a5b5762d
commit 7069fc9b50
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2001-10-22 Havoc Pennington <hp@pobox.com>
* src/stack.c (meta_stack_sync_to_server): fix to keep desktop
window from appearing on top of everything else, among other stack
bugs. Untested.
2001-10-15 Havoc Pennington <hp@pobox.com>
* src/window.c (meta_window_new): use queried attributes to check

View File

@ -728,6 +728,12 @@ meta_stack_sync_to_server (MetaStack *stack)
/* Restack remaining windows */
meta_verbose ("Restacking remaining %d windows\n",
(int) (new_end - newp));
/* We need to include an already-stacked window
* in the restack call, so we get in the proper position
* with respect to it.
*/
if (newp != new_stack)
--newp;
XRestackWindows (stack->screen->display->xdisplay,
(Window *) newp, new_end - newp);
}