mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-08 08:04:08 +02:00
Version 2.4.1: Fix build for Linux.
This commit is contained in:
parent
04212140cc
commit
f3a2460a54
1 changed files with 4 additions and 0 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue