https://bugs.kde.org/show_bug.cgi?id=397397
Bug ID: 397397
Summary: No access to the client that changed desktop in
KWin::Client.desktopChanged() signal
Product: kwin
Version: 5.13.3
Platform: Archlinux Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: scripting
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
I'm trying to let my script hook into the default KWin methods to change client
desktops but I can't seem to get access to the client that is changing its
desktop.
The API describes for the KWin::Client object the desktopChanged() signal
without arguments whereas I would expect it to be similar to any of the other
signals such as clientStartUserMovedResized(KWin::Client *) which gives the
user access to the client that changed by its argument.
I tried to get access to the client that switches desktop using the active
client (workspace.activeClient) but this return null in this method.
I'm not sure if this is intended behavior or if it's a bug, but either way I
would like to get access to the client which had its desktop property changed.
How do I do this?
--
You are receiving this mail because:
You are watching all bug changes.