You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if DefOS had a function to get the number of available displays. Also, if possible, to get the name or some kind of identifier for each display.
The text was updated successfully, but these errors were encountered:
Returns a table displays, where displays[1] would be the main display. Each display would be a table that would contain:
bounds = { x = 0, y = 0, width = 1920, height = 1080 }, which would delimit the rectangle in client space (coordinates to be passed to defos.set_window_size()).
resolution = { width = 3840, height = 2160 }, which might be different from screen bounds on, for example macOS when scaling is turned on on Retina displays.
It would be great if DefOS had a function to get the number of available displays. Also, if possible, to get the name or some kind of identifier for each display.
The text was updated successfully, but these errors were encountered: