mirror of
https://github.com/Trensa-Organization/hy3.git
synced 2025-03-15 18:53:40 +01:00
Merge pull request #29 from eriedaberrie/master
Make hy3:no_gaps_when_only affect maximized windows
This commit is contained in:
commit
2680b1933b
1 changed files with 1 additions and 1 deletions
|
@ -1427,7 +1427,7 @@ void Hy3Layout::applyNodeDataToWindow(Hy3Node* node, bool no_animation) {
|
||||||
&& root_node->data.as_group.children.front()->data.type == Hy3NodeType::Window;
|
&& root_node->data.as_group.children.front()->data.type == Hy3NodeType::Window;
|
||||||
|
|
||||||
if (!g_pCompositor->isWorkspaceSpecial(window->m_iWorkspaceID)
|
if (!g_pCompositor->isWorkspaceSpecial(window->m_iWorkspaceID)
|
||||||
&& ((*single_window_no_gaps && only_node)
|
&& ((*single_window_no_gaps && (only_node || window->m_bIsFullscreen))
|
||||||
|| (window->m_bIsFullscreen
|
|| (window->m_bIsFullscreen
|
||||||
&& g_pCompositor->getWorkspaceByID(window->m_iWorkspaceID)->m_efFullscreenMode
|
&& g_pCompositor->getWorkspaceByID(window->m_iWorkspaceID)->m_efFullscreenMode
|
||||||
== FULLSCREEN_FULL)))
|
== FULLSCREEN_FULL)))
|
||||||
|
|
Loading…
Add table
Reference in a new issue