fix crash in toplevel set appid

This commit is contained in:
Vaxry 2022-08-06 21:15:50 +02:00
parent 070db65a24
commit 793b23dbe6
2 changed files with 1 additions and 2 deletions

View file

@ -167,7 +167,6 @@ void CWindow::updateToplevel() {
if (!m_phForeignToplevel)
return;
wlr_foreign_toplevel_handle_v1_set_app_id(m_phForeignToplevel, g_pXWaylandManager->getAppIDClass(this).c_str());
wlr_foreign_toplevel_handle_v1_set_title(m_phForeignToplevel, m_szTitle.c_str());
wlr_foreign_toplevel_handle_v1_set_fullscreen(m_phForeignToplevel, m_bIsFullscreen);

View file

@ -131,7 +131,7 @@ public:
CAnimatedVariable m_cRealShadowColor;
// for toplevel monitor events
int m_iLastToplevelMonitorID = -1;
uint64_t m_iLastToplevelMonitorID = -1;
// For the list lookup
bool operator==(const CWindow& rhs) {