sindresorhus/get-windows

Difference between a full-screen window size and screen resolution

Open

#61 创建于 2019年12月1日

在 GitHub 查看
 (6 评论) (0 反应) (0 负责人)JavaScript (913 star) (194 fork)user submission
bughelp wanted

描述

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

贡献者指南