Skip to content

Commit 8defffa

Browse files
committed
DisplayServer (Linux): fixes build failure on older Wayland versions
Fixes #2237
1 parent 1b543b1 commit 8defffa

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

src/detection/displayserver/linux/wayland/kde-output-device-v2-client-protocol.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -251,12 +251,12 @@ kde_output_device_registry_v2_destroy(struct kde_output_device_registry_v2 *kde_
251251
* The compositor may still send new output announcements after calling this
252252
* request until the kde_output_device_registry_v2.finished event is sent.
253253
*/
254-
static inline void
255-
kde_output_device_registry_v2_stop(struct kde_output_device_registry_v2 *kde_output_device_registry_v2)
256-
{
257-
wl_proxy_marshal_flags((struct wl_proxy *) kde_output_device_registry_v2,
258-
KDE_OUTPUT_DEVICE_REGISTRY_V2_STOP, NULL, wl_proxy_get_version((struct wl_proxy *) kde_output_device_registry_v2), 0);
259-
}
254+
// static inline void
255+
// kde_output_device_registry_v2_stop(struct kde_output_device_registry_v2 *kde_output_device_registry_v2)
256+
// {
257+
// wl_proxy_marshal_flags((struct wl_proxy *) kde_output_device_registry_v2,
258+
// KDE_OUTPUT_DEVICE_REGISTRY_V2_STOP, NULL, wl_proxy_get_version((struct wl_proxy *) kde_output_device_registry_v2), 0);
259+
// }
260260

261261
#ifndef KDE_OUTPUT_DEVICE_V2_SUBPIXEL_ENUM
262262
#define KDE_OUTPUT_DEVICE_V2_SUBPIXEL_ENUM
@@ -1188,12 +1188,12 @@ kde_output_device_v2_destroy(struct kde_output_device_v2 *kde_output_device_v2)
11881188
* This notifies the compositor that the client no longer wishes to use
11891189
* the kde_output_device_v2 object.
11901190
*/
1191-
static inline void
1192-
kde_output_device_v2_release(struct kde_output_device_v2 *kde_output_device_v2)
1193-
{
1194-
wl_proxy_marshal_flags((struct wl_proxy *) kde_output_device_v2,
1195-
KDE_OUTPUT_DEVICE_V2_RELEASE, NULL, wl_proxy_get_version((struct wl_proxy *) kde_output_device_v2), WL_MARSHAL_FLAG_DESTROY);
1196-
}
1191+
// static inline void
1192+
// kde_output_device_v2_release(struct kde_output_device_v2 *kde_output_device_v2)
1193+
// {
1194+
// wl_proxy_marshal_flags((struct wl_proxy *) kde_output_device_v2,
1195+
// KDE_OUTPUT_DEVICE_V2_RELEASE, NULL, wl_proxy_get_version((struct wl_proxy *) kde_output_device_v2), WL_MARSHAL_FLAG_DESTROY);
1196+
// }
11971197

11981198
#ifndef KDE_OUTPUT_DEVICE_MODE_V2_FLAGS_ENUM
11991199
#define KDE_OUTPUT_DEVICE_MODE_V2_FLAGS_ENUM

0 commit comments

Comments
 (0)