Is Xorg aware of text areas?
Alan Coopersmith
alan.coopersmith at oracle.com
Mon Jul 13 17:57:11 PDT 2015
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- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the xorg
mailing list