From 96d33362e66a597fb3381355243a075d6653213c Mon Sep 17 00:00:00 2001 From: vaxerski Date: Fri, 20 Sep 2024 14:13:20 +0100 Subject: [PATCH] core: fix overzealous proxy replacement for new_id --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index cc95efc..8cb6429 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -112,9 +112,10 @@ std::string WPTypeToCType(const SRequestArgument& arg, bool event /* events pass if (e.nameOriginal == arg.enumName) return e.name; } + return "uint32_t"; } - if (!event && clientCode) + if (!event && clientCode && arg.wlType == "new_id") return "wl_proxy*"; // iface