0

多亏了出色的 wmctrl (http://tomas.styblo.name/wmctrl/),我很容易检索列出可见窗口所需的 C 代码。

我仍然需要的是获取有关什么是活动窗口,活动窗口后面是什么,然后又是什么的信息......有人知道我如何获得这些信息吗?

4

1 回答 1

0

Try to play with the xwininfo command and see if it includes an option that does what you want. If that's the case, take a look at its source code:

于 2012-05-04T12:44:16.640 回答