mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-06 15:11:57 -07:00
added a layoutmanager and basic dwindle
This commit is contained in:
11
src/managers/LayoutManager.cpp
Normal file
11
src/managers/LayoutManager.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "LayoutManager.hpp"
|
||||
|
||||
IHyprLayout* CLayoutManager::getCurrentLayout() {
|
||||
switch (m_iCurrentLayoutID) {
|
||||
case DWINDLE:
|
||||
return &m_cDwindleLayout;
|
||||
}
|
||||
|
||||
// fallback
|
||||
return &m_cDwindleLayout;
|
||||
}
|
Reference in New Issue
Block a user