diff options
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/clcutils.cpp | 2 | ||||
-rw-r--r-- | src/mir_app/src/clistcore.cpp | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/mir_app/src/clcutils.cpp b/src/mir_app/src/clcutils.cpp index 34a012ae34..33b86e60e5 100644 --- a/src/mir_app/src/clcutils.cpp +++ b/src/mir_app/src/clcutils.cpp @@ -297,6 +297,8 @@ MIR_APP_DLL(void) Clist_SetGroupExpand(HWND hwnd, ClcData *dat, ClcGroup *group, group->bExpanded = newState != 0;
}
+ g_clistApi.pfnOnGroupExpanded(dat, group);
+
g_clistApi.pfnInvalidateRect(hwnd, nullptr, FALSE);
int contentCount = g_clistApi.pfnGetGroupContentsCount(group, 1);
int groupy = g_clistApi.pfnGetRowsPriorTo(&dat->list, group, -1);
diff --git a/src/mir_app/src/clistcore.cpp b/src/mir_app/src/clistcore.cpp index 77800b9113..297851d52d 100644 --- a/src/mir_app/src/clistcore.cpp +++ b/src/mir_app/src/clistcore.cpp @@ -56,6 +56,10 @@ static int fnIsVisibleContact(ClcCacheEntry*, ClcGroup*) return false;
}
+static void fnOnGroupExpanded(ClcData *, ClcGroup *)
+{
+}
+
void InitClistCore()
{
g_clistApi.menuProtos = &g_menuProtos;
@@ -129,6 +133,7 @@ void InitClistCore() g_clistApi.pfnTrayCalcChanged = fnTrayCalcChanged;
g_clistApi.pfnSetContactCheckboxes = fnSetContactCheckboxes;
+ g_clistApi.pfnOnGroupExpanded = fnOnGroupExpanded;
}
MIR_APP_DLL(CLIST_INTERFACE*) Clist_GetInterface(void)
|