display: factor out current_find_intersects_rect
display: factor out current_find_intersects_rect

Acked-by: Fabiano Fidêncio <2931bae082ef9bc04523ba759c03a4778316d48f@redhat.com>

fgouget/spice,SPICE/spice,fgouget/spice,SPICE/spice,SPICE/spice,fgouget/spice,fgouget/spice