mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 12:25:58 +01:00
fix floating rendering on multimon
This commit is contained in:
parent
a4b026df2b
commit
281cb9fd04
1 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ void CHyprRenderer::renderAllClientsForMonitor(const int& ID, timespec* time) {
|
|||
|
||||
for (auto& w : g_pCompositor->m_lWindows) {
|
||||
|
||||
if (w.m_bIsX11 || w.m_iMonitorID != (uint64_t)ID)
|
||||
if (w.m_bIsX11)
|
||||
continue;
|
||||
|
||||
wlr_box geometry = { w.m_vRealPosition.x, w.m_vRealPosition.y, w.m_vRealSize.x, w.m_vRealSize.y };
|
||||
|
@ -71,7 +71,7 @@ void CHyprRenderer::renderAllClientsForMonitor(const int& ID, timespec* time) {
|
|||
|
||||
for (auto& w : g_pCompositor->m_lWindows) {
|
||||
|
||||
if (!w.m_bIsX11 || w.m_iMonitorID != (uint64_t)ID)
|
||||
if (!w.m_bIsX11)
|
||||
continue;
|
||||
|
||||
if (!g_pCompositor->windowValidMapped(&w))
|
||||
|
|
Loading…
Reference in a new issue