mirror of
https://github.com/hyprwm/hyprwayland-scanner.git
synced 2024-11-08 08:55:59 +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)
|
if (e.nameOriginal == arg.enumName)
|
||||||
return e.name;
|
return e.name;
|
||||||
}
|
}
|
||||||
|
return "uint32_t";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!event && clientCode)
|
if (!event && clientCode && arg.wlType == "new_id")
|
||||||
return "wl_proxy*";
|
return "wl_proxy*";
|
||||||
|
|
||||||
// iface
|
// iface
|
||||||
|
|
Loading…
Reference in a new issue