From 095487ea5da5e0d334632f1b5e1f8f6d5e15bfbb Mon Sep 17 00:00:00 2001 From: vaxerski Date: Tue, 16 Aug 2022 16:31:44 +0200 Subject: [PATCH] disallow configure from fullscreen --- src/events/Windows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp index 57f7aaab..bcb09381 100644 --- a/src/events/Windows.cpp +++ b/src/events/Windows.cpp @@ -516,7 +516,7 @@ void Events::listener_configureX11(void* owner, void* data) { const auto E = (wlr_xwayland_surface_configure_event*)data; g_pHyprRenderer->damageWindow(PWINDOW); - if (!PWINDOW->m_bIsFloating) { + if (!PWINDOW->m_bIsFloating || PWINDOW->m_bIsFullscreen) { g_pXWaylandManager->setWindowSize(PWINDOW, PWINDOW->m_vRealSize.vec()); g_pInputManager->refocus(); g_pHyprRenderer->damageWindow(PWINDOW);