Skip to content
Commit e0d6ad1d authored by Jan-Marek Glogowski's avatar Jan-Marek Glogowski Committed by Jonas Ådahl
Browse files

xdg-shell: use case to change the app ID at runtime



LibreOffice is one big binary with explicit brandings for different
application modules. This is represented in X11 by a different
WM_CLASS setting for a window. The WM_CLASS is changed based on the
loaded document at runtime. As a result LibreOffice already offers
multiple desktop files with different icons, StartupWMClass
entries and application names.

This amendment of the set_app_id request just explicitly specifies
the use case to change a surfaces' app ID at runtime, so a compositor
implementor is made aware of it. Just as the WM_CLASS, a change of
the app ID should result in an update of the propertes of a surface
depending on the app ID, like the window icon specified in the
desktop file or a re-grouping of the surfaces in a task manager.

Signed-off-by: default avatarJan-Marek Glogowski <glogow@fbihome.de>
Reviewed-by: default avatarJonas Ådahl <jadahl@gmail.com>
Reviewed-by: Simon Ser's avatarSimon Ser <contact@emersion.fr>
parent b9d427db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment