///////////////////////////////////////////////////////
| 2209 | |
| 2210 | //////////////////////////////////////////////////////////// |
| 2211 | bool WindowImplX11::checkXRandR() |
| 2212 | { |
| 2213 | // Check if the XRandR extension is present |
| 2214 | int version = 0; |
| 2215 | if (!XQueryExtension(m_display.get(), "RANDR", &version, &version, &version)) |
| 2216 | { |
| 2217 | err() << "XRandR extension is not supported" << std::endl; |
| 2218 | return false; |
| 2219 | } |
| 2220 | |
| 2221 | return true; |
| 2222 | } |
| 2223 | |
| 2224 | |
| 2225 | //////////////////////////////////////////////////////////// |