1998-11-03 Federico Mena Quintero <federico@nuclecu.unam.mx>

* gdesktop.c (select_icon): Raise the icon when it is selected.
This commit is contained in:
Miguel de Icaza 1998-11-04 16:51:57 +00:00
parent db30df14d0
commit 146fbe25fb
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
1998-11-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (select_icon): Raise the icon when it is selected.
1998-11-02 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (select_range): Doh. Fix dii -> ldii typo. Also,

View File

@ -255,7 +255,7 @@ select_range (struct desktop_icon_info *dii, int sel)
max_vdii = dii;
}
/* Select! */
/* Select all the icons in the rectangle */
for (u = min_u; u <= max_u; u++)
for (v = min_v; v <= max_v; v++)
@ -296,6 +296,9 @@ select_icon (struct desktop_icon_info *dii, GdkEventButton *event)
}
last_selected_icon = dii;
if (dii->selected)
gdk_window_raise (dii->dicon->window);
} else
select_range (dii, TRUE);
}