mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 00:49:48 +01:00
fix preWindowPass with floating as first
This commit is contained in:
parent
523023aec7
commit
00747fc6df
2 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue