client: Simplify some logic in queue_event
authorDerek Foreman <derekf@osg.samsung.com>
Thu, 13 Apr 2017 16:51:47 +0000 (11:51 -0500)
committerDaniel Stone <daniels@collabora.com>
Mon, 4 Dec 2017 22:21:45 +0000 (22:21 +0000)
commit56696e514842d214be492c3291e7572f2d70d976
tree4aad10ef18980b97028ca860343de27423a883a5
parent971a9e7873e43f3bd059b340e1e9bfa65b384e47
client: Simplify some logic in queue_event

Both the blocks in this if/else clause do the same thing, so combine
the comparisons into one.

No functional change.

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
src/wayland-client.c