sindresorhus/get-windows

Difference between a full-screen window size and screen resolution

Open

#61 geöffnet am 1. Dez. 2019

Auf GitHub ansehen
 (6 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (913 Stars) (194 Forks)user submission
bughelp wanted

Beschreibung

The display settings are 2256*1504 on my laptop. But when the active window is full-screen, the activeWin() promise returns the following bounds:

{ x: -7, y: -7, width: 1519, height: 977 }

This is a real difference! Maybe I just missed something...

P.S: this module is exactly what I was looking for, thanks @sindresorhus

Contributor Guide