Adapt for XCB::IsSupportedByWM changes
This commit is contained in:
parent
cea7f128a5
commit
c25c3e043c
1 changed files with 3 additions and 1 deletions
|
|
@ -495,7 +495,9 @@ bool WindowExtentsSupported() {
|
||||||
#ifndef DESKTOP_APP_DISABLE_X11_INTEGRATION
|
#ifndef DESKTOP_APP_DISABLE_X11_INTEGRATION
|
||||||
namespace XCB = base::Platform::XCB;
|
namespace XCB = base::Platform::XCB;
|
||||||
if (::Platform::IsX11()
|
if (::Platform::IsX11()
|
||||||
&& XCB::IsSupportedByWM(kXCBFrameExtentsAtomName.utf16())) {
|
&& XCB::IsSupportedByWM(
|
||||||
|
XCB::GetConnectionFromQt(),
|
||||||
|
kXCBFrameExtentsAtomName.utf16())) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
#endif // !DESKTOP_APP_DISABLE_X11_INTEGRATION
|
#endif // !DESKTOP_APP_DISABLE_X11_INTEGRATION
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue