mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 13:31:18 +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
|
@ -57,6 +57,10 @@
|
|||
#include "resource/embedded/resources.h"
|
||||
#endif
|
||||
|
||||
#if BOOST_OS_LINUX && HAS_WAYLAND
|
||||
#include "gui/helpers/wxWayland.h"
|
||||
#endif
|
||||
|
||||
#include "Cafe/TitleList/TitleInfo.h"
|
||||
#include "Cafe/TitleList/TitleList.h"
|
||||
#include "wxHelper.h"
|
||||
|
@ -753,6 +757,12 @@ void MainWindow::TogglePadView()
|
|||
m_padView->Bind(wxEVT_CLOSE_WINDOW, &MainWindow::OnPadClose, this);
|
||||
|
||||
m_padView->Show(true);
|
||||
|
||||
#if BOOST_OS_LINUX && HAS_WAYLAND
|
||||
if (wxWlIsWaylandWindow(m_padView))
|
||||
wxWlSetAppId(m_padView, "info.cemu.Cemu");
|
||||
#endif
|
||||
|
||||
m_padView->Initialize();
|
||||
if (m_game_launched)
|
||||
m_padView->InitializeRenderCanvas();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue