Clarified function name.

This commit is contained in:
Camilla Berglund 2011-03-04 15:00:51 +01:00
parent 7515ee0ef5
commit 2f2ce22e35

View File

@ -134,7 +134,7 @@ static Atom getSupportedAtom(Atom* supportedAtoms,
// Check whether the running window manager is EWMH-compliant // Check whether the running window manager is EWMH-compliant
//======================================================================== //========================================================================
static GLboolean checkForEWMH(_GLFWwindow* window) static GLboolean hasEWMH(_GLFWwindow* window)
{ {
Window* windowFromRoot = NULL; Window* windowFromRoot = NULL;
Window* windowFromChild = NULL; Window* windowFromChild = NULL;
@ -685,7 +685,7 @@ static GLboolean createWindow(_GLFWwindow* window,
} }
// Check whether an EWMH-compliant window manager is running // 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) if (window->mode == GLFW_FULLSCREEN && !window->X11.hasEWMH)
{ {