This function sends a GR_EVENT_TYPE_CLOSE_REQ event to the specified window, if the client has selected to receive GR_EVENT_TYPE_CLOSE_REQ events on the window. This is used to request an application to shutdown, but not force an immediate shutdown. This way an application can shutdown cleanly, and possibly ask a user if he/she wishes to save files before shutting down.