From bd4b261a889bba06b188f3b3409cebdc414c4899 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Tue, 11 Oct 2022 08:36:06 +0200 Subject: [PATCH] Fixed #8296: Assert floatbar->handle and not xfc->window --- client/X11/xf_floatbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/X11/xf_floatbar.c b/client/X11/xf_floatbar.c index 312932b9c..3eb3dec00 100644 --- a/client/X11/xf_floatbar.c +++ b/client/X11/xf_floatbar.c @@ -277,7 +277,7 @@ xfFloatbarButton* xf_floatbar_new_button(xfFloatbar* floatbar, int type) WINPR_ASSERT(floatbar); WINPR_ASSERT(floatbar->xfc); WINPR_ASSERT(floatbar->xfc->display); - WINPR_ASSERT(floatbar->xfc->window); + WINPR_ASSERT(floatbar->handle); button = (xfFloatbarButton*)calloc(1, sizeof(xfFloatbarButton)); button->type = type;