fix preWindowPass with floating as first

This commit is contained in:
vaxerski 2022-08-01 20:32:46 +02:00
parent 523023aec7
commit 00747fc6df
2 changed files with 1 additions and 4 deletions

View File

@ -627,7 +627,7 @@ void CHyprOpenGLImpl::preWindowPass() {
bool hasWindows = false;
for (auto& w : g_pCompositor->m_vWindows) {
if (w->m_iWorkspaceID == m_RenderData.pMonitor->activeWorkspace && !w->m_bHidden && w->m_bIsMapped) {
if (w->m_iWorkspaceID == m_RenderData.pMonitor->activeWorkspace && !w->m_bHidden && w->m_bIsMapped && !w->m_bIsFloating) {
hasWindows = true;
break;
}

View File

@ -711,9 +711,6 @@ void CHyprRenderer::damageMonitor(CMonitor* pMonitor) {
wlr_box damageBox = {0, 0, pMonitor->vecPixelSize.x, pMonitor->vecPixelSize.y};
wlr_output_damage_add_box(pMonitor->damage, &damageBox);
// TODO: this should NOT be required here.
g_pHyprOpenGL->markBlurDirtyForMonitor(pMonitor);
static auto *const PLOGDAMAGE = &g_pConfigManager->getConfigValuePtr("debug:log_damage")->intValue;
if (*PLOGDAMAGE)