Re: [PATCH v3] xdg-shell: use case to change the app ID at runtime

2019-07-17 Thread Jan-Marek Glogowski
Am 15.07.19 um 16:20 schrieb glo...@fbihome.de: > From: Jan-Marek Glogowski > > 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

Re: [PATCH v2] xdg-shell: use case to change the app ID at runtime

2019-07-12 Thread Jan-Marek Glogowski
Am 12.07.19 um 20:31 schrieb Simon Ser: > I'd just go with something among the lines of: > > Like other properties, an app_id request can be sent after the > toplevel has been mapped to update the property. s/an app_id/a set_app_id/ s/toplevel/xdg_toplevel/ Or is toplevel implicit xdg_to

Re: [PATCH] xdg-shell: add use case to handle change of app_id

2019-07-07 Thread Jan-Marek Glogowski
Am 07.07.19 um 16:11 schrieb Simon Ser: >> @@ -604,6 +604,11 @@ >> For example, "org.freedesktop.FooViewer" where the .desktop file is >> "org.freedesktop.FooViewer.desktop". >> >> +This request can be used to change the icon of a window at runtime by >> +providing different deskt

RFC wayland-protocols: explicitly allow changing the app_id of a xdg_shell surface at runtime

2019-07-07 Thread Jan-Marek Glogowski
Hi. I'm trying to fix Libre Office (LO) to correctly run on Wayland with Qt. My upstream bug is [1]. IMHO this needs just some changes to QtWayland, but I was told by Sho_ (and d_ed probably also followed the discussion) that app_id is supposed to be static like WM_CLASS. I read the xdg_shell sp

[PATCH] xdg-shell: add use case to handle change of app_id

2019-07-07 Thread Jan-Marek Glogowski
LibreOffice is one big binary with explicit brandings for different application modules. This is represented by different WM_CLASS settings for a window on X11, based on the loaded document. As a result LibreOfiice already offers multiple desktop files with different icons and StartupWMClass entrie