mirror of
https://github.com/hyprwm/hyprland-plugins.git
synced 2024-11-22 02:35:57 +01:00
parent
fc5c62f26a
commit
3d7667ecc4
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ static bool renderingOverview = false;
|
||||||
|
|
||||||
//
|
//
|
||||||
static void hkRenderWorkspace(void* thisptr, CMonitor* pMonitor, PHLWORKSPACE pWorkspace, timespec* now, const CBox& geometry) {
|
static void hkRenderWorkspace(void* thisptr, CMonitor* pMonitor, PHLWORKSPACE pWorkspace, timespec* now, const CBox& geometry) {
|
||||||
if (!g_pOverview || renderingOverview || g_pOverview->blockOverviewRendering)
|
if (!g_pOverview || renderingOverview || g_pOverview->blockOverviewRendering || g_pOverview->pMonitor != pMonitor)
|
||||||
((origRenderWorkspace)(g_pRenderWorkspaceHook->m_pOriginal))(thisptr, pMonitor, pWorkspace, now, geometry);
|
((origRenderWorkspace)(g_pRenderWorkspaceHook->m_pOriginal))(thisptr, pMonitor, pWorkspace, now, geometry);
|
||||||
else
|
else
|
||||||
g_pOverview->render();
|
g_pOverview->render();
|
||||||
|
|
Loading…
Reference in a new issue