mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-29 22:45:58 +01:00
compositor: do not process fullscreen events in unsafe
This commit is contained in:
parent
98059b52d7
commit
015664eb4c
1 changed files with 1 additions and 1 deletions
|
@ -2170,7 +2170,7 @@ void CCompositor::updateFullscreenFadeOnWorkspace(CWorkspace* pWorkspace) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCompositor::setWindowFullscreen(CWindow* pWindow, bool on, eFullscreenMode mode) {
|
void CCompositor::setWindowFullscreen(CWindow* pWindow, bool on, eFullscreenMode mode) {
|
||||||
if (!windowValidMapped(pWindow))
|
if (!windowValidMapped(pWindow) || g_pCompositor->m_bUnsafeState)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (pWindow->m_bPinned) {
|
if (pWindow->m_bPinned) {
|
||||||
|
|
Loading…
Reference in a new issue