https://bugs.kde.org/show_bug.cgi?id=447845

--- Comment #50 from Nicolas Fella <[email protected]> ---
Git commit 223cf77eaaf5bd37834f078b2b15791ade99d0d5 by Nicolas Fella.
Committed on 19/11/2026 at 10:13.
Pushed by nicolasfella into branch 'master'.

Separate appId, resourceClass, and executable name in window management
protocol

Currently the window management protocol exposes app_id and resource_name.
However
these do not map well to the actual window properties.

For Wayland windows app_id is the desktop file name, and resource_name the
executable
name.

For XWayland window app_id may be the desktop file name, or the resource class.
resource_name

All this is confusing and make it hard for the taskmanager to do a proper
mapping.

To address this, add resource_class as a separate entry to the protocol.

For Wayland windows we only ever send app_id.

For XWayland windows we send app_id, resource_name, and resource_class if they
are available.

This only affects what we send via the window management protocol, it does not
change
the behavior of the resourceName and resourceClass properties in Window. This
should be
cleaned up too, but it's more complicated since that leaks into scripts,
effects, rules, and
decorations.

M  +29   -1    src/wayland/plasmawindowmanagement.cpp
M  +1    -0    src/wayland/plasmawindowmanagement.h
M  +4    -7    src/window.cpp
M  +10   -0    src/x11window.cpp

https://invent.kde.org/plasma/kwin/-/commit/223cf77eaaf5bd37834f078b2b15791ade99d0d5

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to