[PATCH weston] compositor: Load shell plugin after option modules

Kristian Høgsberg hoegsberg at gmail.com
Thu Sep 27 07:28:04 PDT 2012


On Thu, Sep 27, 2012 at 9:24 AM, Tiago Vignatti
<tiago.vignatti at linux.intel.com> 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


More information about the wayland-devel mailing list