mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-09-11 13:25:42 +03:00
compositor: do not process fullscreen events in unsafe
This commit is contained in:
parent
98059b52d7
commit
015664eb4c
@ -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 New Issue
Block a user