Wayland API to get the id of focus window [Seema Singh]

2014-02-20 Thread Seema Singh
Hi All, In our module we have used the below mentioned ecore_x APIs. 1.ecore_x_window_focus_get() 2.ecore_x_netwm_pid_get() 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.

Re: Wayland API to get the id of focus window [Seema Singh]

2014-02-20 Thread Christopher Michael
Hi Semma, Those APIs do not exist inside Ecore_Wayland yet. There is no concept of NetWM in wayland yet so that API was never added. Getting the current window which has focus would depend on the current shell. Due to not wanting Ecore_Wayland to be tied to any specific shell, that API was

Re: Wayland API to get the id of focus window [Seema Singh]

2014-02-20 Thread The Rasterman
On Thu, 20 Feb 2014 09:12:50 + (GMT) Seema Singh seema.si...@samsung.com said: Hi All, In our module we have used the below mentioned ecore_x APIs. 1.ecore_x_window_focus_get() 2.ecore_x_netwm_pid_get() We are planning to move to wayland platform. But could not find the below

Re: Re: Wayland API to get the id of focus window [Seema Singh]

2014-02-20 Thread Seema Singh
Hi Carsten, 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,

Re: Wayland API to get the id of focus window [Seema Singh]

2014-02-20 Thread The Rasterman
On Fri, 21 Feb 2014 06:07:59 + (GMT) Seema Singh seema.si...@samsung.com said: Hi Carsten, 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

Re: Wayland API to get the id of focus window [Seema Singh]

2014-02-20 Thread Bill Spitzak
Seema Singh wrote: 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. The NFC app should always launch, but then it should just check if it is already running, and if