diff --git a/ChangeLog b/ChangeLog index 6a49c1507..c15e3794d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,10 @@ +2003-01-07 Havoc Pennington + + * src/screen.c (update_num_workspaces): fix off-by-one, patch from + readams@hmc.edu, #102806 + 2003-01-06 Arvind Samptur + * 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. diff --git a/src/screen.c b/src/screen.c index b0f210998..483f66a37 100644 --- a/src/screen.c +++ b/src/screen.c @@ -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;