On Thu, Sep 27, 2012 at 9:24 AM, Tiago Vignatti <[email protected]> wrote: > On 09/26/2012 07:26 PM, Kristian Høgsberg wrote: >> >> >>> Maybe we should special-case the forking clients and get the return >>> value from the fork() call, i.e the pid now? >> >> >> Yeah, I think that's the way to go... I'm just wondering if we should >> add a wl_client_set_credentials() or just work around it in weston... > > > We need to special-case now only two types of clients: the desktop-panel and > the X clients. The desktop-panel never gets the keyboard focus anyway so > it's not a problem for the kill binding. And X clients are different because > they are not actual Wayland clients, so the kill binding will have to fetch > their pid differently also, not using wl_client_get_credentials().
Yes sounds fine. Look for _NET_WM_PID in EWMH for getting the PID of X clients. > So do we want the set_credential for other cases besides the kill binding? No, let's not do that then. Kristian _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
