@@ -41,34 +41,6 @@ static void waylandOutputGeometryListener(void* data, struct wl_output* wl_outpu
4141 FF_UNUSED (data , wl_output , x , y , physical_width , physical_height , subpixel , make , model , transform );
4242}
4343
44- #if WAYLAND_VERSION_MINOR >= 2
45-
46- static void waylandOutputDoneListener (void * data , struct wl_output * wl_output )
47- {
48- FF_UNUSED (data , wl_output );
49- }
50-
51- static void waylandOutputScaleListener (void * data , struct wl_output * wl_output , int32_t factor )
52- {
53- FF_UNUSED (data , wl_output , factor );
54- }
55-
56- #endif
57-
58- #if WAYLAND_VERSION_MINOR >= 4
59-
60- static void waylandOutputNameListener (void * data , struct wl_output * wl_output , const char * name )
61- {
62- FF_UNUSED (data , wl_output , name );
63- }
64-
65- static void waylandOutputDescriptionListener (void * data , struct wl_output * wl_output , const char * description )
66- {
67- FF_UNUSED (data , wl_output , description );
68- }
69-
70- #endif
71-
7244static void waylandOutputModeListener (void * data , struct wl_output * output , uint32_t flags , int32_t width , int32_t height , int32_t refreshRate )
7345{
7446 WaylandData * wldata = data ;
@@ -108,16 +80,6 @@ static void waylandGlobalAddListener(void* data, struct wl_registry* registry, u
10880 static struct wl_output_listener outputListener = {
10981 .mode = waylandOutputModeListener , //This is the only one we really need
11082 .geometry = waylandOutputGeometryListener ,
111-
112- #if WAYLAND_VERSION_MINOR >= 2
113- .done = waylandOutputDoneListener ,
114- .scale = waylandOutputScaleListener ,
115- #endif
116-
117- #if WAYLAND_VERSION_MINOR >= 4
118- .name = waylandOutputNameListener ,
119- .description = waylandOutputDescriptionListener ,
120- #endif
12183 };
12284
12385 wldata -> ffwl_proxy_add_listener (output , (void (* * )(void )) & outputListener , data );
0 commit comments