dispatchers: add Fullscreen without sending fullscreen to application (#4720)
* Add extra option to fullscreen * Remove useless branch fixes #1817 --------- Co-authored-by: matteo bob <matteo4375@gmail.com>
This commit is contained in:
parent
294e51a857
commit
289d952a6e
3 changed files with 15 additions and 11 deletions
|
|
@ -1064,7 +1064,7 @@ bool CWindow::canBeTorn() {
|
|||
|
||||
bool CWindow::shouldSendFullscreenState() {
|
||||
const auto MODE = g_pCompositor->getWorkspaceByID(m_iWorkspaceID)->m_efFullscreenMode;
|
||||
return m_bFakeFullscreenState || (m_bIsFullscreen && (MODE == FULLSCREEN_FULL));
|
||||
return m_bDontSendFullscreen ? false : (m_bFakeFullscreenState || (m_bIsFullscreen && (MODE == FULLSCREEN_FULL)));
|
||||
}
|
||||
|
||||
void CWindow::setSuspended(bool suspend) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue