Skip to content
Snippets Groups Projects
Commit f491c5f8 authored by Olivier Fourdan's avatar Olivier Fourdan :tools:
Browse files

clients: Fix a crash on FreeBSD

A pid is not necessarily a long on all systems, so casting the value of
NET_WM_PID directly into a GPid may cause a stack overflow.

Fixes: 49c1a33a
Closes: #411


Signed-off-by: default avatarOlivier Fourdan <fourdan@xfce.org>
(cherry picked from commit a691e6c50ce2d797183c98bc2e9c72b8bb2b2a5a)
parent a988a64e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment