Skip to content

Conversation

@Marko19907
Copy link
Owner

Addresses user feedback for improved multi-monitor compatibility, especially for setups with mixed display types

Addresses user feedback for improved multi-monitor compatibility, especially for setups with mixed display types
@Marko19907 Marko19907 requested a review from Copilot December 15, 2025 20:25
@Marko19907 Marko19907 self-assigned this Dec 15, 2025
@Marko19907 Marko19907 linked an issue Dec 15, 2025 that may be closed by this pull request
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds selectable monitor support to address multi-monitor compatibility issues. Users can now enable/disable the mouse mover feature per monitor through a new "Screens" submenu in the system tray.

  • Introduces monitor detection and management via Windows API
  • Adds UI controls for per-monitor enable/disable toggles
  • Persists monitor preferences in settings

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
src/view.rs Adds "Screens" submenu with dynamic menu items for each monitor, handles monitor selection events
src/settings.rs Adds enabled_monitors HashMap to settings struct with getter/setter methods for monitor state
src/mover.rs Implements monitor filtering logic to skip windows on disabled monitors
src/monitor_info.rs New module providing Windows API helpers to enumerate monitors and retrieve display device information
src/main.rs Registers the new monitor_info module
src/controller.rs Adds global ENABLED_MONITORS state and methods to merge connected/saved monitor data
Cargo.toml Adds required winapi features for monitor enumeration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Marko19907 Marko19907 merged commit eb96e32 into main Dec 19, 2025
2 checks passed
@Marko19907 Marko19907 deleted the 25-selectable-monitor-support branch December 19, 2025 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Suggestion: Add settings for selection of monitors

2 participants