1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 10:48:51 -05:00

Formatting.

This commit is contained in:
Camilla Berglund 2010-10-14 15:51:11 +02:00
parent 26aaf55872
commit cb20d1e911

View File

@ -1252,7 +1252,7 @@ static void processSingleEvent(void)
return; return;
} }
if ((Atom) event.xclient.data.l[ 0 ] == window->X11.wmDeleteWindow) if ((Atom) event.xclient.data.l[0] == window->X11.wmDeleteWindow)
{ {
// The window manager was asked to close the window, for example by // The window manager was asked to close the window, for example by
// the user pressing a 'close' window decoration button // the user pressing a 'close' window decoration button
@ -1260,7 +1260,7 @@ static void processSingleEvent(void)
window->closeRequested = GL_TRUE; window->closeRequested = GL_TRUE;
} }
else if (window->X11.wmPing != None && else if (window->X11.wmPing != None &&
(Atom) event.xclient.data.l[ 0 ] == window->X11.wmPing) (Atom) event.xclient.data.l[0] == window->X11.wmPing)
{ {
// The window manager is pinging us to make sure we are still // The window manager is pinging us to make sure we are still
// responding to events // responding to events