mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 12:32:05 +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:
parent
878d6df404
commit
b619f9baa8
@ -1,4 +1,10 @@
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user