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().

So do we want the set_credential for other cases besides the kill binding?

Tiago, cooking the patches now anyways
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to