mirror of
https://github.com/rozniak/xfce-winxp-tc.git
synced 2026-01-26 19:49:44 +00:00
Bugfix: For #529, fix taskband toolbars duplicating on window remap
This commit is contained in:
@@ -264,6 +264,13 @@ static gboolean on_window_map_event(
|
|||||||
{
|
{
|
||||||
WinTCTaskbandWindow* taskband = WINTC_TASKBAND_WINDOW(self);
|
WinTCTaskbandWindow* taskband = WINTC_TASKBAND_WINDOW(self);
|
||||||
|
|
||||||
|
// If we already spawned the toolbars, don't do it again
|
||||||
|
//
|
||||||
|
if (taskband->toolbars)
|
||||||
|
{
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
// Spawn toolbars
|
// Spawn toolbars
|
||||||
//
|
//
|
||||||
for (guint i = 0; i < G_N_ELEMENTS(S_LAYOUT); i++)
|
for (guint i = 0; i < G_N_ELEMENTS(S_LAYOUT); i++)
|
||||||
|
|||||||
Reference in New Issue
Block a user