On 07/13/15 03:27 PM, James Heald wrote:
I'm trying to figure out how I can create some program/script that automatically brings up a keyboard when a text field is active. Therefore I need something to tell me whether or not a text area is active, and I was curious if that's something Xorg would be able to tell me or if it would be the window manager that would get that kind of information.
Nope - that's all handled at the toolkit level, well above the X protocol, neither Xorg nor the window manager would know that. Your best bet is to hook into the accessibility frameworks, such as atk there. https://en.wikipedia.org/wiki/Accessibility_Toolkit https://developer.gnome.org/atk/ -- -Alan Coopersmith- [email protected] Oracle Solaris Engineering - http://blogs.oracle.com/alanc _______________________________________________ [email protected]: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s
