mirror of
https://github.com/hyprwm/hyprwayland-scanner.git
synced 2024-11-08 12:15:57 +01:00
core: fixup client new_id handling
This commit is contained in:
parent
f68f159255
commit
4d3d80fcb1
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ std::string WPTypeToCType(const SRequestArgument& arg, bool event /* events pass
|
||||||
}
|
}
|
||||||
|
|
||||||
// iface
|
// iface
|
||||||
if (!arg.interface.empty() && event) {
|
if (!arg.interface.empty() && (event || clientCode)) {
|
||||||
for (auto& i : XMLDATA.ifaces) {
|
for (auto& i : XMLDATA.ifaces) {
|
||||||
if (i.name == arg.interface)
|
if (i.name == arg.interface)
|
||||||
return camelize((clientCode ? "CC_" : "C_") + arg.interface + "*");
|
return camelize((clientCode ? "CC_" : "C_") + arg.interface + "*");
|
||||||
|
|
Loading…
Reference in a new issue