mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 13:28:05 +01:00
Renamed "apercu" to "minipreview" in the source code
To be consistent, all place where the not-properly-written "apercu" was used in the source code (of wmaker and WPrefs) it has been replaced by an appropriate "minipreview" or similar, to be in line with the new name suggested by Yuri Tarasievich. This new name is better understood by contributors who speak usual english, but not this word which comes From french but is sparsely understood by british people. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
35fe34ac85
commit
67b4302ef8
10
src/wsmap.c
10
src/wsmap.c
@@ -73,22 +73,22 @@ void wWorkspaceMapUpdate(WScreen *scr)
|
||||
scr->scr_width, scr->scr_height,
|
||||
AllPlanes, ZPixmap);
|
||||
if (pimg) {
|
||||
RImage *apercu;
|
||||
RImage *mini_preview;
|
||||
|
||||
apercu = RCreateImageFromXImage(scr->rcontext, pimg, NULL);
|
||||
mini_preview = RCreateImageFromXImage(scr->rcontext, pimg, NULL);
|
||||
XDestroyImage(pimg);
|
||||
|
||||
if (apercu) {
|
||||
if (mini_preview) {
|
||||
RImage *tmp = scr->workspaces[scr->current_workspace]->map;
|
||||
|
||||
if (tmp)
|
||||
RReleaseImage(tmp);
|
||||
|
||||
scr->workspaces[scr->current_workspace]->map =
|
||||
RSmoothScaleImage(apercu,
|
||||
RSmoothScaleImage(mini_preview,
|
||||
scr->scr_width / WORKSPACE_MAP_RATIO,
|
||||
scr->scr_height / WORKSPACE_MAP_RATIO);
|
||||
RReleaseImage(apercu);
|
||||
RReleaseImage(mini_preview);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user