mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-05-31 06:13:55 +00:00
Update windows code fixed build
This commit is contained in:
parent
341f2281d6
commit
1054870213
@ -60,8 +60,8 @@ MMRectInt32 getScreenRect(int32_t display_id) {
|
||||
#elif defined(IS_WINDOWS)
|
||||
if (GetSystemMetrics(SM_CMONITORS) == 1) {
|
||||
return MMRectInt32Make(
|
||||
(int32_t)GetSystemMetrics(SM_XSCREEN),
|
||||
(int32_t)GetSystemMetrics(SM_YSCREEN),
|
||||
(int32_t)0,
|
||||
(int32_t)0,
|
||||
(int32_t)GetSystemMetrics(SM_CXSCREEN),
|
||||
(int32_t)GetSystemMetrics(SM_CYSCREEN));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user