Check if a feature is supported by the current window manager
| 208 | |
| 209 | // Check if a feature is supported by the current window manager |
| 210 | bool isFeatureSupported(std::string_view feature) |
| 211 | { |
| 212 | static const auto& supported = getSupportedFeatures(); |
| 213 | return (std::find(supported.begin(), supported.end(), feature) != supported.end()); |
| 214 | } |
| 215 | |
| 216 | // Check if Extended Window Manager Hints are supported |
| 217 | bool ewmhSupported() |
no test coverage detected