mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-01 04:31:57 -07:00
fix crash in toplevel set appid
This commit is contained in:
@@ -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);
|
||||
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user