The monitor to query.
Where to store the monitor x-coordinate, or null.
Where to store the monitor y-coordinate, or null.
Where to store the monitor width, or null.
Where to store the monitor height, or null.
Errors: Possible errors include @ref GLFW_NOT_INITIALIZED and @ref GLFW_PLATFORM_ERROR.
This function must only be called from the main thread.
@sa @ref monitor_workarea
Added in version 3.3.
Ingroup: monitor
Retrieves the work area of the monitor.
This function returns the position, in screen coordinates, of the upper-left corner of the work area of the specified monitor along with the work area size in screen coordinates. The work area is defined as the area of the monitor not occluded by the operating system task bar where present. If no task bar exists then the work area is the monitor resolution in screen coordinates.
Any or all of the position and size arguments may be null. If an error occurs, all non-null position and size arguments will be set to zero.