fix(xcomposite): Disable extension query #406
This commit is contained in:
parent
8146f65286
commit
9ced7dbf73
@ -8,12 +8,14 @@ namespace composite_util {
|
|||||||
/**
|
/**
|
||||||
* Query for the XCOMPOSITE extension
|
* Query for the XCOMPOSITE extension
|
||||||
*/
|
*/
|
||||||
void query_extension(connection& conn) {
|
void query_extension(connection&) {
|
||||||
|
#if 0
|
||||||
conn.composite().query_version(XCB_COMPOSITE_MAJOR_VERSION, XCB_COMPOSITE_MINOR_VERSION);
|
conn.composite().query_version(XCB_COMPOSITE_MAJOR_VERSION, XCB_COMPOSITE_MINOR_VERSION);
|
||||||
|
|
||||||
if (!conn.extension<xpp::composite::extension>()->present) {
|
if (!conn.extension<xpp::composite::extension>()->present) {
|
||||||
throw application_error("Missing X extension: Composite");
|
throw application_error("Missing X extension: Composite");
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user