https://bugs.kde.org/show_bug.cgi?id=397397
--- Comment #2 from LinG <lingtj...@hotmail.com> --- Yes, I understand that at the moment when I'm connecting to the signal I have access to the client, but I don't understand how I get access to the client inside the callback method that I provide for when the signal gets triggered. My current understanding is: ``` client.desktopChanged.connect(function () { // how do I get the client inside this callback? }) ``` Here I provide a method (callback/lambda) that gets triggered whenever the desktop of this client changes. The gap in my knowledge is then, how I would get access to the client inside this callback? You refer to capturing the client in this lambda, could you please give a small example of how I would go about doing this? -- You are receiving this mail because: You are watching all bug changes.