b813c13a10cc39c60eada511f6e6a7947d941aab
Author outfoxxed <outfoxxed@outfoxxed.me> Committer outfoxxed <outfoxxed@outfoxxed.me> Date 2025-07-21 10:07 UTC
Message remove catchall tab render
In theory it should never be used, but RENDER_PRE_WINDOWS gets called
before special workspaces are drawn, which leads to it rerendering all
tabs over a special workspace.
Fixes #105 #173
Diff 1 diff --git a/src/Hy3Layout.cpp b/src/Hy3Layout.cpp
2 index ea5fa206313acbbf612c1d39cbfda80f466a1ea8..697ce308b361c4d46d2fb164f7521cc87f35fea8 100644
3 --- a/src/Hy3Layout.cpp
4 +++ b/src/Hy3Layout.cpp
5 @@ -1588,17 +1588,6 @@ void Hy3Layout::renderHook(void*, SCallbackInfo&, std::any data) {
6 break;
7 case RENDER_POST_WINDOWS:
8 rendering_normally = false;
9 -
10 - for (auto& entry: g_Hy3Layout->tab_groups) {
11 - if (!entry.hidden && entry.target_window->m_monitor == g_pHyprOpenGL->m_renderData.pMonitor
12 - && (!entry.target_window->m_workspace || entry.target_window->m_workspace->m_visible)
13 - && std::find(rendered_groups.begin(), rendered_groups.end(), &entry)
14 - == rendered_groups.end())
15 - {
16 - g_pHyprRenderer->m_renderPass.add(makeUnique<Hy3TabPassElement>(&entry));
17 - }
18 - }
19 -
20 break;
21 default: break;
22 }