Hi all,
I need to observe the state of virtual keyboard (visible or not) but for other applications (my application that observes the state of virtual keyboard will be in background)
Is there any way to do that?
Thanks a lot.
Hi all,
I need to observe the state of virtual keyboard (visible or not) but for other applications (my application that observes the state of virtual keyboard will be in background)
Is there any way to do that?
Thanks a lot.
Hi,
You have to check if the active window is a _NET_WM_WINDOW_TYPE_INPUT type.
To retrieve the window id of the active one you can query the root window for the _NET_ACTIVE_WINDOW property.
Thank you gnuton for reply, but I am not familiar with linux.
So can you please tell me how can I do that in MeeGo? Or where to start searching?
Thanks a lot.
No, there is no such functionality in meego.
One can follow the MInputMethodState::inputMethodAreaChanged signal, but even if that area
is empty, it's not a guarantee that there is no input method active.
Hi,
Yes, i already told that it might not help. You might have to follow gnuton's post and use WM api to find out. I do not have much idea on how that can be implemented.