File tree 2 files changed +5
-7
lines changed
2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ BreakBeforeBraces: Stroustrup
3
3
TabWidth : 4
4
4
IndentWidth : 4
5
5
UseTab : Never
6
- AllowShortIfStatementsOnASingleLine : false
7
6
IndentCaseLabels : true
8
7
ColumnLimit : 200
9
8
PointerAlignment : Left
Original file line number Diff line number Diff line change 2
2
#include < cstdint>
3
3
#include < hyprland/src/Compositor.hpp>
4
4
#include < hyprland/src/config/ConfigManager.hpp>
5
- #include < hyprland/src/helpers/Color.hpp>
6
5
#include < hyprland/src/desktop/Workspace.hpp>
6
+ #include < hyprland/src/helpers/Color.hpp>
7
7
#include < hyprland/src/managers/KeybindManager.hpp>
8
8
9
9
#include " globals.hpp"
@@ -150,7 +150,8 @@ void fixWorkspaceArrangement()
150
150
continue ;
151
151
}
152
152
g_pCompositor->moveWorkspaceToMonitor (workspacePtr, monitorPtr);
153
- } else {
153
+ }
154
+ else {
154
155
Debug::log (WARN, " [split-monitor-workspaces] fixWorkspaceArrangement: Workspace not found: {}" , workspace);
155
156
}
156
157
}
@@ -166,13 +167,11 @@ void mapWorkspacesToMonitors()
166
167
static const auto * const workspaceCountPtr = (Hyprlang::INT* const *)HyprlandAPI::getConfigValue (PHANDLE, k_workspaceCount)->getDataStaticPtr ();
167
168
static const auto * const keepFocusedPtr = (Hyprlang::INT* const *)HyprlandAPI::getConfigValue (PHANDLE, k_keepFocused)->getDataStaticPtr ();
168
169
169
- if (workspaceCountPtr == nullptr )
170
- {
170
+ if (workspaceCountPtr == nullptr ) {
171
171
Debug::log (WARN, " [split-monitor-workspaces] Failed to get workspace count config value" );
172
172
return ;
173
173
}
174
- if (keepFocusedPtr == nullptr )
175
- {
174
+ if (keepFocusedPtr == nullptr ) {
176
175
Debug::log (WARN, " [split-monitor-workspaces] Failed to get keep focused config value" );
177
176
return ;
178
177
}
You can’t perform that action at this time.
0 commit comments