Major correction to previous patch
This commit is contained in:
parent
06dd8d3a39
commit
f3ab54de4e
@ -5,7 +5,7 @@
|
||||
QRect QGnomePlatformDecoration::windowContentGeometry() const
|
||||
{
|
||||
-#if QT_VERSION >= 0x060000
|
||||
+#if DECORATION_SHADOWS_SUPPORT
|
||||
+#ifdef DECORATION_SHADOWS_SUPPORT // Qt 6.2.0+ or patched QtWayland
|
||||
return waylandWindow()->windowContentGeometry() + margins(ShadowsOnly);
|
||||
#else
|
||||
return waylandWindow()->windowContentGeometry();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user