Fix task icon size limits (https://forums.bunsenlabs.org/viewtopic.php?pid=51884)
o9000 mrovi9000@gmail.com
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/taskbar/taskbar.c
→
src/taskbar/taskbar.c
@@ -238,9 +238,9 @@ panel->g_task.background[TASK_ICONIFIED] = panel->g_task.background[TASK_NORMAL];
if ((panel->g_task.config_background_mask & (1 << TASK_URGENT)) == 0) panel->g_task.background[TASK_URGENT] = panel->g_task.background[TASK_ACTIVE]; - if (!panel->g_task.maximum_width) + if (!panel->g_task.maximum_width || !panel_horizontal) panel->g_task.maximum_width = server.monitors[panel->monitor].width; - if (!panel->g_task.maximum_height) + if (!panel->g_task.maximum_height || panel_horizontal) panel->g_task.maximum_height = server.monitors[panel->monitor].height; if (panel_horizontal) {