The function I think you want is described in 'man 3 XGetInputFocus'. There is a last_focus_change variable which may be helpful. I've never called X directly from perl, can't help there.
After Compline,
Zaxo
In reply to Re: Any way to query which X Window has focus from Perl?
by Zaxo
in thread Any way to query which X Window has focus from Perl?
by bikeNomad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |