On Thu, Jul 10, 2003 at 07:55:15PM -0500, Adrian Kubala wrote: > Running lua from a query isn't much help without a way to get, for > example, the currently-focused clientwin. Did I just overlook the right > function?
There is no such thing as a current focused client window when you're in a query; the query has the focus. To get the client window current displayed in the frame where the query is executing, you use genframe_current(_) (_ here points to the frame). -- Tuomo
