1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 21:08:08 +01:00

fixed a bug with switch panel

added updated de.po
This commit is contained in:
kojima
2004-10-18 00:09:54 +00:00
parent 737328566f
commit bc6aeab722
4 changed files with 552 additions and 573 deletions

View File

@@ -345,7 +345,8 @@ WSwitchPanel *wInitSwitchPanel(WScreen *scr, WWindow *curwin, int workspace)
}
panel->current= WMGetFirstInArray(panel->windows, curwin);
changeImage(panel, panel->current, 1);
if (panel->current >= 0)
changeImage(panel, panel->current, 1);
return panel;
}
@@ -381,6 +382,9 @@ WWindow *wSwitchPanelSelectNext(WSwitchPanel *panel, int back)
WWindow *wwin;
int count = WMGetArrayItemCount(panel->windows);
if (count == 0)
return NULL;
if (panel->win)
changeImage(panel, panel->current, 0);