From eb93d30fd98700e2be8ac7cacb37269f4fe73de6 Mon Sep 17 00:00:00 2001 From: Window Maker Date: Sun, 24 May 2026 19:13:57 +0200 Subject: [PATCH] debug: trace popup expose --- WINGs/wpopupbutton.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/WINGs/wpopupbutton.c b/WINGs/wpopupbutton.c index 4899230..73bb4c2 100644 --- a/WINGs/wpopupbutton.c +++ b/WINGs/wpopupbutton.c @@ -573,6 +573,9 @@ static void handleActionEvents(WMEvent * event, void *data) * everything ourselves. */ int n = WMGetArrayItemCount(bPtr->items); int i; + wwarning("popup expose: bPtr=%p menuView=%p items=%d highlight=%d mapped=%d", + (void*)bPtr, (void*)bPtr->menuView, n, bPtr->highlightedItem, + bPtr->menuView ? bPtr->menuView->flags.mapped : -1); for (i = 0; i < n; i++) { paintMenuEntry(bPtr, i, i == bPtr->highlightedItem); }