Fix compile error with wl_output < v4
Listener members 'name' and 'description' of struct wl_output_listener were added in version 4. With older versions it would therefore cause a compiler error. Check whether macros WL_OUTPUT_NAME_SINCE_VERSION and WL_OUTPUT_DESCRIPTION_SINCE_VERSION are defined to assume whether or not those two listener members exist. Fixes: cb13afd8
Please register or sign in to comment