mirror of
https://github.com/hyprwm/hyprwayland-scanner.git
synced 2024-11-08 04:15:59 +01:00
source: fix including ->pResource under non-new_id resources
This commit is contained in:
parent
1c9ed159e1
commit
e60b1bb9a1
1 changed files with 1 additions and 1 deletions
|
@ -502,7 +502,7 @@ static const void* {}[] = {{
|
|||
|
||||
std::string argsN = ", ";
|
||||
for (auto& arg : ev.args) {
|
||||
if (arg.interface.empty())
|
||||
if (arg.interface.empty() || arg.wlType != "new_id")
|
||||
argsN += arg.name + ", ";
|
||||
else
|
||||
argsN += arg.name + "->pResource, ";
|
||||
|
|
Loading…
Reference in a new issue