present: Ignore event_id 0 from driver vblank notify
authorKeith Packard <keithp@keithp.com>
Sat, 9 Nov 2013 20:33:02 +0000 (12:33 -0800)
committerKeith Packard <keithp@keithp.com>
Wed, 20 Nov 2013 21:12:25 +0000 (13:12 -0800)
commita5bcc4f7b9499caf8993f0a6ef96088553399ca3
tree7200cef1fcf7a10a9cff24cb06d11d4f84e5c877
parent4f3c37a1f17ffcfbbff71d217e1caad3d0148c90
present: Ignore event_id 0 from driver vblank notify

We use event_id 0 to mean 'no such event'; if a driver sends us that
event_id, make sure we don't accidentally match it.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
present/present.c