mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
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:
parent
db30df14d0
commit
146fbe25fb
@ -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,
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user