Version 2.4.1: Fix build for Linux.

This commit is contained in:
John Preston 2020-10-01 20:06:00 +03:00
parent 04212140cc
commit f3a2460a54

View file

@ -1098,12 +1098,16 @@ bool SetWindowExtents(QWindow *window, const QMargins &extents) {
if (!IsWayland()) { if (!IsWayland()) {
return SetXCBFrameExtents(window, extents); return SetXCBFrameExtents(window, extents);
} }
return false;
} }
bool UnsetWindowExtents(QWindow *window) { bool UnsetWindowExtents(QWindow *window) {
if (!IsWayland()) { if (!IsWayland()) {
return UnsetXCBFrameExtents(window); return UnsetXCBFrameExtents(window);
} }
return false;
} }
bool WindowsNeedShadow() { bool WindowsNeedShadow() {