mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-10 08:50:10 +01:00
DisplayServer (Wayland): warn if some properties of wl_output_listener are not supported
This commit is contained in:
1 parent
2d80085d6e
commit
c7becf82bd
1 file changed
+8
@@ -141,18 +141,26 @@ static void waylandOutputHandler(WaylandData* wldata, struct wl_registry* regist
|
||||
|
||||
#ifdef WL_OUTPUT_DONE_SINCE_VERSION
|
||||
.done = (void*) stubListener,
|
||||
#else
|
||||
#warning wl_output_listener::done is not supported
|
||||
#endif
|
||||
|
||||
#ifdef WL_OUTPUT_SCALE_SINCE_VERSION
|
||||
.scale = waylandOutputScaleListener,
|
||||
#else
|
||||
#warning wl_output_listener::scale is not supported
|
||||
#endif
|
||||
|
||||
#ifdef WL_OUTPUT_NAME_SINCE_VERSION
|
||||
.name = waylandOutputNameListener,
|
||||
#else
|
||||
#warning wl_output_listener::name is not supported
|
||||
#endif
|
||||
|
||||
#ifdef WL_OUTPUT_DESCRIPTION_SINCE_VERSION
|
||||
.description = (void*) stubListener,
|
||||
#else
|
||||
#warning wl_output_listener::description is not supported
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user