mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-16 12:33:48 -07:00
fix warns
This commit is contained in:
@@ -12,7 +12,7 @@ IHyprLayout* CLayoutManager::getCurrentLayout() {
|
||||
void CLayoutManager::switchToLayout(std::string layout) {
|
||||
for (size_t i = 0; i < m_vLayouts.size(); ++i) {
|
||||
if (m_vLayouts[i].first == layout) {
|
||||
if (i == m_iCurrentLayoutID)
|
||||
if (i == (size_t)m_iCurrentLayoutID)
|
||||
return;
|
||||
|
||||
getCurrentLayout()->onDisable();
|
||||
|
Reference in New Issue
Block a user