fix: set Wayland application ID (#34855)
* refactor: extract XDG app ID logic into a method * fix: set application ID on Wayland
This commit is contained in:
parent
8f3fb8db09
commit
f63bba8ce2
4 changed files with 24 additions and 8 deletions
|
@ -56,6 +56,10 @@ bool SetLoginItemEnabled(bool enabled);
|
|||
// Returns a success flag.
|
||||
// Unlike libgtkui, does *not* use "chromium-browser.desktop" as a fallback.
|
||||
bool GetDesktopName(std::string* setme);
|
||||
|
||||
// The XDG application ID must match the name of the desktop entry file without
|
||||
// the .desktop extension.
|
||||
std::string GetXdgAppId();
|
||||
#endif
|
||||
|
||||
} // namespace platform_util
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue