core: really fix event requests
authorBartosz Golaszewski <bartekgola@gmail.com>
Mon, 6 Feb 2017 11:34:34 +0000 (12:34 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Mon, 6 Feb 2017 11:35:39 +0000 (12:35 +0100)
commit9fbc20e75d9d333b0c8c66cd1f2ebf6f4ea46f4e
tree453e698585d5fc690bc097d48d9502463c612e9d
parent2edebcbf9906093fdf088cfe790e6f9fe98ba4f2
core: really fix event requests

The previous commit addressing the issue when requesting both types
of line events was braindead. Actually fix the bug this time: check
the event_type, not the eventflags.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
src/lib/core.c