Skip Menu |

This queue is for tickets about the Imager-Screenshot CPAN distribution.

Report information
The Basics
Id: 62230
Status: open
Priority: 0/
Queue: Imager-Screenshot

People
Owner: Nobody in particular
Requestors: TONYC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.009
Fixed in: (no value)



Subject: allow selection of the window to capture by full or partial window name
Maybe also allow selection by supplying a coderef that filters until a window is found.
(re: using _NET_WM_PID for pid => window lookups, as mentioned in IRC) Turns out it's not so hard to get the window information using X11::Protocol, so I've thrown out my initial C++ XS implementation in favour of a separate module for doing pid/title window ID lookups: http://metacpan.org/release/TEAM/X11-WindowHierarchy-0.002 Needs a few extra things such as geometry to be useful, but I'm mentioning it here as an interim workaround (for X11 only, unfortunately) until there's a cleaner solution. cheers, Tom