Skip to content

Add multi-monitor support #2

@Plenvorik

Description

@Plenvorik

Problem

The app only considers the primary monitor's boundaries. Multi-monitor setups
are not correctly supported.

Current code

src/main.cpp:450-460

int screen_width = GetSystemMetrics(SM_CXSCREEN);
int screen_height = GetSystemMetrics(SM_CYSCREEN);

Solution

Use EnumDisplayMonitors() or GetMonitorInfo() to correctly handle all monitors.

Reference

See IMPROVEMENTS.md for implementation example.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions