MCPcopy Create free account
hub / github.com/SFML/SFML / isFeatureSupported

Function isFeatureSupported

src/SFML/Window/Unix/WindowImplX11.cpp:210–214  ·  view source on GitHub ↗

Check if a feature is supported by the current window manager

Source from the content-addressed store, hash-verified

208
209// Check if a feature is supported by the current window manager
210bool 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
217bool ewmhSupported()

Callers 10

ewmhSupportedFunction · 0.85
getEWMHFrameExtentsFunction · 0.85
setTitleMethod · 0.85
setIconMethod · 0.85
grabFocusMethod · 0.85
switchToFullscreenMethod · 0.85
setProtocolsMethod · 0.85
initializeMethod · 0.85
updateLastInputTimeMethod · 0.85
processEventMethod · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected