mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
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
This commit is contained in:

committed by
Havoc Pennington

parent
878d6df404
commit
b619f9baa8
@ -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;
|
||||
|
Reference in New Issue
Block a user