Bugfix: For #529, fix taskband toolbars duplicating on window remap

This commit is contained in:
Rory Fewell
2025-10-14 19:15:11 +01:00
parent 9cc2938a09
commit 315ff425a5

View File

@@ -264,6 +264,13 @@ static gboolean on_window_map_event(
{
WinTCTaskbandWindow* taskband = WINTC_TASKBAND_WINDOW(self);
// If we already spawned the toolbars, don't do it again
//
if (taskband->toolbars)
{
return TRUE;
}
// Spawn toolbars
//
for (guint i = 0; i < G_N_ELEMENTS(S_LAYOUT); i++)