Bug#471126: x11-utils: doesn't list some ghost windows that xrestop shows
On Sun, 16 Mar 2008, Brice Goglin wrote:
> The reason is probably that xlsclients only lists actual clients (using
> XQueryTree()) while xrestop shows resources (with XResQueryClients()).
> So your ghost windows may be part of the latter but not of the former.
>
> By the way, did you actually found your ghostwindows to be missing in
> xlsclient, or did you just compare the number of entries? Could it be
> that some clients appear multiple times in xrestop and only once in
> xlsclients?
There is one 'unknown' client according to xlsclients:
Window 0x1a000001:
Machine: dirac
Name: <unknown>
Icon Name: <unknown>
Command: '<unknown>'
Instance/Class: <unknown>/<unknown>
Presumably corresponding to the one root window that is still "owned".
In xrestop, one more of these ghost windows is created per invocation of
the erroneous xli/xloadimage.
In xlsclients, the entries are presumably not duplicated - they have
unique res_base.
--
TimC
A debugged program is one for which you have not yet found the
conditions that make it fail. -- Jerry Ogdin
Reply to: