forked from Mirrors/flatpak-builder
dbus-proxy: Fix incorrect check of name policy
It was checking against the wrong enum typetingping/wmclass
parent
f5aba30ade
commit
53df418814
|
@ -1815,7 +1815,7 @@ got_buffer_from_client (XdgAppProxyClient *client, ProxySide *side, Buffer *buff
|
|||
if (validate_arg0_name (client, buffer, policy_from_handler (handler), &name_policy))
|
||||
goto handle_pass;
|
||||
|
||||
if (name_policy < (int)HANDLE_VALIDATE_SEE)
|
||||
if (name_policy < (int)XDG_APP_POLICY_SEE)
|
||||
goto handle_hide;
|
||||
else
|
||||
goto handle_deny;
|
||||
|
|
Loading…
Reference in New Issue