compositor: fix event-test
authorPekka Paalanen <ppaalanen@gmail.com>
Wed, 10 Oct 2012 09:49:32 +0000 (12:49 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 11 Oct 2012 01:39:23 +0000 (21:39 -0400)
commit8ec4ab64f0e4025dc13ce9819ffc2291872e99c5
treef09f9669963ae5ee8b380bfc264f82a189769eb5
parentbc10638cd97a332468993e982e1a122a16531504
compositor: fix event-test

event-test assumes, that even without the very first wl_surface.attach
(and commit), the surface will have infinite (previously undef) input
region. event-test simply has test-client to create a wl_surface, and
then it forcefully sets its position and size, and assumes the input
region is now the full surface, so that notify_motion() will hit it.

Change Weston to initialize the input region to infinite, instead of
empty.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
src/compositor.c