mirror of
https://github.com/hyprwm/hyprwayland-scanner.git
synced 2024-12-24 02:59:50 +01:00
core: fix overzealous proxy replacement for new_id
This commit is contained in:
parent
eebf1cb749
commit
96d33362e6
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue