diff options
| author | thejch <66577496+thejch@users.noreply.github.com> | 2024-03-12 19:09:20 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-13 02:09:20 +0000 |
| commit | 7ea555da7fff0a2457e24e06bbd34986c0755025 (patch) | |
| tree | 7855f0d910baf28d6876b56ff9736540f7a87dfb /src/layout/MasterLayout.hpp | |
| parent | 6c53d4d82fd81aaa8aeb8c89ece1b88455a1f2a1 (diff) | |
master: Fix master layout window focus and scroll (#5074)
* fix master switch window scrolling
* fix some more dispatchers and remove some duplicate code
* refactor and remove duplicate code
* fix focusmonitor: https://github.com/hyprwm/Hyprland/issues/5006#issuecomment-1986977255
* change check
Diffstat (limited to 'src/layout/MasterLayout.hpp')
| -rw-r--r-- | src/layout/MasterLayout.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/layout/MasterLayout.hpp b/src/layout/MasterLayout.hpp index d48aefdc..6f8ea120 100644 --- a/src/layout/MasterLayout.hpp +++ b/src/layout/MasterLayout.hpp @@ -87,8 +87,6 @@ class CHyprMasterLayout : public IHyprLayout { void calculateWorkspace(const int&); CWindow* getNextWindow(CWindow*, bool); int getMastersOnWorkspace(const int&); - bool prepareLoseFocus(CWindow*); - void prepareNewFocus(CWindow*, bool inherit_fullscreen); friend struct SMasterNodeData; friend struct SMasterWorkspaceData; @@ -108,4 +106,4 @@ struct std::formatter<SMasterNodeData*, CharT> : std::formatter<CharT> { std::format_to(out, ", window: {:x}", node->pWindow); return std::format_to(out, "]"); } -};
\ No newline at end of file +}; |
