Commit b619f9ba authored by Havoc Pennington's avatar Havoc Pennington Committed by Havoc Pennington

fix off-by-one, patch from readams@hmc.edu, #102806

2003-01-07  Havoc Pennington  <hp@pobox.com>

	* src/screen.c (update_num_workspaces): fix off-by-one, patch from
	readams@hmc.edu, #102806
parent 878d6df4
2003-01-07 Havoc Pennington <hp@pobox.com>
* src/screen.c (update_num_workspaces): fix off-by-one, patch from
readams@hmc.edu, #102806
2003-01-06 Arvind Samptur <arvind.samptur@wipro.com>
* src/window.c: (constrain_position) don't apply
offscreen height difference. This would get the
window under the panel on a resize or a move.
......
......@@ -950,7 +950,7 @@ update_num_workspaces (MetaScreen *screen)
{
MetaWorkspace *w = tmp->data;
if (i > new_num)
if (i >= new_num)
extras = g_list_prepend (extras, w);
else
last_remaining = w;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment