Fix bug #104 found by pistache

This commit is contained in:
Raphael Khaiat 2011-03-24 13:34:47 +01:00
parent df4e32f4f9
commit 0e8634fbe4

View File

@ -51,10 +51,13 @@ arrange(int screen, Bool update_layout)
client_hide(c);
}
if(update_layout)
tags[screen][seltag[screen]].layout.func(screen);
if(tags[screen][seltag[screen]].layout.func)
{
if(update_layout)
tags[screen][seltag[screen]].layout.func(screen);
infobar_draw(screen);
infobar_draw(screen);
}
return;
}