cleanup duplicate code and fixed ALLDESKTOP task

git-svn-id: http://tint2.googlecode.com/svn/trunk@569 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
thilor77
2010-09-26 17:07:33 +00:00
parent c569722617
commit 301aff0f10
4 changed files with 23 additions and 83 deletions

View File

@@ -304,7 +304,7 @@ void init_panel_size_and_position(Panel *panel)
int resize_panel(void *obj)
{
int ret = resize_by_layout(obj);
resize_by_layout(obj, 0);
//printf("resize_panel\n");
if (panel_mode != MULTI_DESKTOP) {
@@ -319,7 +319,7 @@ int resize_panel(void *obj)
panel->taskbar[i].area.resize = 1;
}
}
return ret;
return 0;
}