commit | 0013a29d5e8e9d25e8b3c5c6d672489ae4d7e943 | [log] [tgz] |
---|---|---|
author | Jasper St. Pierre <jstpierre@mecheye.net> | Thu Aug 07 16:43:11 2014 -0400 |
committer | Jason Ekstrand <jason.ekstrand@intel.com> | Fri Aug 08 14:56:57 2014 -0700 |
tree | 502980e9536950b7a01d5b6cc0ab07ab3f43daca | |
parent | d1ceecf11263244bd496ec13cc942f4d3f58be84 [diff] [blame] |
Use the named SINCE_VERSION defines for version checks To make our code more clear.
diff --git a/src/input.c b/src/input.c index aaa2223..b6cd7df 100644 --- a/src/input.c +++ b/src/input.c
@@ -1829,7 +1829,7 @@ caps |= WL_SEAT_CAPABILITY_TOUCH; wl_seat_send_capabilities(resource, caps); - if (version >= 2) + if (version >= WL_SEAT_NAME_SINCE_VERSION) wl_seat_send_name(resource, seat->seat_name); }