diff --git a/WINGs/wview_wl.c b/WINGs/wview_wl.c index dbf04a1..ce087e3 100644 --- a/WINGs/wview_wl.c +++ b/WINGs/wview_wl.c @@ -448,6 +448,13 @@ static void wl_redisplay(void *vctx, W_View *view) if (child->flags.mapped && child->flags.realized && !child->flags.alreadyDead) { wl_redisplay(vctx, child); } + /* Debug: log scroller-sized children in scroll-view-sized parents */ + if (view->size.width > 400 && view->size.height > 80 && view->size.height < 100 + && child->size.height <= 20 && child->size.height > 0) + wwarning("scroller? child %p size=%dx%d pos=%d,%d mapped=%d realized=%d", + (void*)child, child->size.width, child->size.height, + child->pos.x, child->pos.y, + child->flags.mapped, child->flags.realized); child = next; }