sindresorhus/get-windows

Difference between a full-screen window size and screen resolution

Open

#61 opened on 2019年12月1日

GitHub で見る
 (6 comments) (0 reactions) (0 assignees)JavaScript (194 forks)user submission
bughelp wanted

Repository metrics

Stars
 (913 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド