mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 05:51:19 +12:00
Wayland: Set app_id for icon in kde (#718)
This commit is contained in:
parent
715d2247a9
commit
be1e77186e
5 changed files with 51 additions and 3 deletions
|
@ -12,6 +12,10 @@
|
|||
#include "gui/helpers/wxHelpers.h"
|
||||
#include "Cemu/ncrypto/ncrypto.h"
|
||||
|
||||
#if BOOST_OS_LINUX && HAS_WAYLAND
|
||||
#include "gui/helpers/wxWayland.h"
|
||||
#endif
|
||||
|
||||
#include <wx/image.h>
|
||||
#include <wx/filename.h>
|
||||
#include <wx/stdpaths.h>
|
||||
|
@ -176,6 +180,11 @@ bool CemuApp::OnInit()
|
|||
SetTopWindow(m_mainFrame);
|
||||
m_mainFrame->Show();
|
||||
|
||||
#if BOOST_OS_LINUX && HAS_WAYLAND
|
||||
if (wxWlIsWaylandWindow(m_mainFrame))
|
||||
wxWlSetAppId(m_mainFrame, "info.cemu.Cemu");
|
||||
#endif
|
||||
|
||||
// show warning on macOS about state of builds
|
||||
#if BOOST_OS_MACOS
|
||||
if (!GetConfig().did_show_macos_disclaimer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue