hmm, and don't set last_window at all if we don't ++newp. Fixes even more

2002-02-09  Havoc Pennington  <hp@pobox.com>

	* src/stack.c (meta_stack_sync_to_server): hmm, and don't set
	last_window at all if we don't ++newp. Fixes even more obscure
	stacking bug.
This commit is contained in:
Havoc Pennington 2002-02-09 17:46:23 +00:00 committed by Havoc Pennington
parent 7b9eccb489
commit 29a86695d1
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2002-02-09 Havoc Pennington <hp@pobox.com>
* src/stack.c (meta_stack_sync_to_server): hmm, and don't set
last_window at all if we don't ++newp. Fixes even more obscure
stacking bug.
2002-02-09 Havoc Pennington <hp@pobox.com> 2002-02-09 Havoc Pennington <hp@pobox.com>
* src/stack.c (meta_stack_sync_to_server): assign last_window * src/stack.c (meta_stack_sync_to_server): assign last_window

View File

@ -690,7 +690,6 @@ meta_stack_sync_to_server (MetaStack *stack)
* so we can just skip it * so we can just skip it
*/ */
++oldp; ++oldp;
last_window = *newp;
} }
else else
{ {