mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 17:10:40 -05: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