diff --git a/src/x11/extensions/composite.cpp b/src/x11/extensions/composite.cpp index d008ee55..09a2bb6e 100644 --- a/src/x11/extensions/composite.cpp +++ b/src/x11/extensions/composite.cpp @@ -8,12 +8,14 @@ namespace composite_util { /** * 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); if (!conn.extension()->present) { throw application_error("Missing X extension: Composite"); } +#endif } }