Disabled round corners when in pseudo-fullscreen

This commit is contained in:
MoonKnight76 2022-03-11 15:31:59 +01:00
parent c5d165d4be
commit 9bd42cd12f

View file

@ -765,7 +765,7 @@ void CWindowManager::applyShapeToWindow(CWindow* pWindow) {
if (!pWindow)
return;
const auto ROUNDING = pWindow->getFullscreen() ? 0 : ConfigManager::getInt("rounding");
const auto ROUNDING = pWindow->getFullscreen() || (ConfigManager::getInt("layout:no_gaps_when_only") && getWindowsOnWorkspace(pWindow->getWorkspaceID()) == 1) ? 0 : ConfigManager::getInt("rounding");
const auto SHAPEQUERY = xcb_get_extension_data(DisplayConnection, &xcb_shape_id);