Currently, when printed, a client is showed as 'KWin::Client(name="")', which is rather useless. Use the caption instead.
Steps to Reproduce:
I'm not sure where the output comes from, but I think it's standard QObject functionality. It might make sense to have the same output as if we pass a KWin::Client to kdebug.
Git commit b2f56c473067f4012aa1f94334543fb775ea9602 by Martin Gräßlin.
Committed on 14/02/2013 at 15:19.
Pushed by graesslin into branch 'master'.
Print useful information for a Client in scripting
Reusing the debug information already specified for QDebug.
M +1 -2 kwin/client.cpp
M +10 -0 kwin/client.h
M +8 -2 kwin/scripting/scripting.cpp