sindresorhus/get-windows

Difference between a full-screen window size and screen resolution

Open

#61 aperta il 1 dic 2019

Vedi su GitHub
 (6 commenti) (0 reazioni) (0 assegnatari)JavaScript (194 fork)user submission
bughelp wanted

Metriche repository

Star
 (913 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor