diff options
author | Brenno Lemos <[email protected]> | 2024-05-11 20:03:32 -0300 |
---|---|---|
committer | GitHub <[email protected]> | 2024-05-12 00:03:32 +0100 |
commit | 33a7b7bb6b307d6e4a093f75ffdda0419cd7ffaf (patch) | |
tree | 8bd1bc79f5a16fb56aa9b81db28f88925b010b89 /src/Compositor.hpp | |
parent | 15072831cfd9efccebd1ad27b21c5604f224aa1b (diff) | |
download | Hyprland-33a7b7bb6b307d6e4a093f75ffdda0419cd7ffaf.tar.gz Hyprland-33a7b7bb6b307d6e4a093f75ffdda0419cd7ffaf.zip |
core: fix on-empty workspace being called too often (#6026)
Diffstat (limited to 'src/Compositor.hpp')
-rw-r--r-- | src/Compositor.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compositor.hpp b/src/Compositor.hpp index 8812f8c8..c8bb8743 100644 --- a/src/Compositor.hpp +++ b/src/Compositor.hpp @@ -164,7 +164,7 @@ class CCompositor { void closeWindow(PHLWINDOW); Vector2D parseWindowVectorArgsRelative(const std::string&, const Vector2D&); void forceReportSizesToWindowsOnWorkspace(const int&); - PHLWORKSPACE createNewWorkspace(const int&, const int&, const std::string& name = ""); // will be deleted next frame if left empty and unfocused! + PHLWORKSPACE createNewWorkspace(const int&, const int&, const std::string& name = "", bool isEmtpy = true); // will be deleted next frame if left empty and unfocused! void renameWorkspace(const int&, const std::string& name = ""); void setActiveMonitor(CMonitor*); bool isWorkspaceSpecial(const int&); |