debug: log scroller child in scroll view
This commit is contained in:
parent
3337bc110b
commit
4abb21dcf6
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue