Skip to content

Miscellaneous minor improves for daemon

Frediano Ziglio requested to merge fziglio/vd_agent_linux:mr_agentd into master

console-kit: Do not mix GLib and libc memory allocations

Use always GLib functions for "seat" and "active_session" fields.


vdagentd: Use bool for agent_owns_clipboard and client_connected

More clear (instaed of 0/1) and save some bytes.


vdagentd: Make pidfilename a constant

No need to be a variable


vdagentd: Make some agent_data variable constant


vdagentd: Automatically release "agent_data"

It's not guaranteed that agent_disconnect will release the connection so avoid to have a dandling pointer.


vdagent-connection: Set correctly err if vdagent_connection_get_peer_pid fails

Do not just return invalid value if the stream is not a socket.

Merge request reports

Loading