Wayland API to get the id of focus window [Seema Singh]
seema.singh at samsung.com
Thu Feb 20 22:07:59 PST 2014
Thank you for your response.
>first... by module... what does this code do? is it an enlightenment module? or
>is it some external client process?
it's not an enlightenment module. It's an external client process.
>so maybe you should first explain what you are doing, where and why, and
>then... we can figure out what to do about it. :)
In our NFC module we are trying to do a NFC conditional APP launch.
Whenever a tag detects, client processes the Tag NDEF data and launch the application if its not launched.
Focus window pid is used for below check:
1. If focus window APP is not a NFC APP then launch the NFC APP
2. If already launched but not in focus then bring it to foreground.
------- Original Message -------
Sender : Carsten Haitzler<raster at rasterman.com>
Date : Feb 20, 2014 18:52 (GMT+09:00)
Title : Re: Wayland API to get the id of focus window [Seema Singh]
On Thu, 20 Feb 2014 09:12:50 +0000 (GMT) Seema Singh <seema.singh at samsung.com>
> Hi All,
> In our module we have used the below mentioned ecore_x APIs.
> We are planning to move to wayland platform. But could not find the below
> APIs in ecore_wayland.h file Please let me know if anyone has come across the
> same issue.
first... by module... what does this code do? is it an enlightenment module? or
is it some external client process?
if it's literally a module inside enlightenment... enlightenment knows the
focus already - check other internal api's. you'll want to be looking at git
master to track dev and features there as that is where the most complete
wayland support is. as for pid - that would be something the compositor can get
by interrogating the fd of the client socket connection.
if this is a 3rd party app/process, the answer is "the 3rd party process has no
business knowing either of these bits of information for security reasons and
simply cleanliness of design."
so maybe you should first explain what you are doing, where and why, and
then... we can figure out what to do about it. :)
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler) raster at rasterman.com
wayland-devel mailing list
wayland-devel at lists.freedesktop.org
<p> </p><p> </p>
More information about the wayland-devel