mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 13:04:35 +00:00
Clarified function name.
This commit is contained in:
parent
7515ee0ef5
commit
2f2ce22e35
@ -134,7 +134,7 @@ static Atom getSupportedAtom(Atom* supportedAtoms,
|
||||
// Check whether the running window manager is EWMH-compliant
|
||||
//========================================================================
|
||||
|
||||
static GLboolean checkForEWMH(_GLFWwindow* window)
|
||||
static GLboolean hasEWMH(_GLFWwindow* window)
|
||||
{
|
||||
Window* windowFromRoot = NULL;
|
||||
Window* windowFromChild = NULL;
|
||||
@ -685,7 +685,7 @@ static GLboolean createWindow(_GLFWwindow* window,
|
||||
}
|
||||
|
||||
// Check whether an EWMH-compliant window manager is running
|
||||
window->X11.hasEWMH = checkForEWMH(window);
|
||||
window->X11.hasEWMH = hasEWMH(window);
|
||||
|
||||
if (window->mode == GLFW_FULLSCREEN && !window->X11.hasEWMH)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user