gestures/fs: remove unneeded floating state switch (#13127)
This commit is contained in:
parent
9433060760
commit
30756d8718
1 changed files with 0 additions and 1 deletions
|
|
@ -77,7 +77,6 @@ void CFullscreenTrackpadGesture::end(const ITrackpadGesture::STrackpadGestureEnd
|
|||
if (COMPLETION < 0.2F) {
|
||||
// revert the animation
|
||||
g_pHyprRenderer->damageWindow(m_window.lock());
|
||||
m_window->m_isFloating = !m_window->m_isFloating;
|
||||
g_pDesktopAnimationManager->overrideFullscreenFadeAmount(m_window->m_workspace, m_originalMode == FSMODE_NONE ? 1.F : 0.F, m_window.lock());
|
||||
g_pCompositor->setWindowFullscreenInternal(m_window.lock(), m_window->m_fullscreenState.internal == FSMODE_NONE ? m_originalMode : FSMODE_NONE);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue