Skip to content

Fix compatibility with Hyprland 0.56.2 - #2

Open
Hachimi2333 wants to merge 1 commit into
junaga:mainfrom
Hachimi2333:main
Open

Hachimi2333 wants to merge 1 commit into
junaga:mainfrom
Hachimi2333:main

Conversation

@Hachimi2333

Copy link
Copy Markdown

Fix plugin compatibility with Hyprland 0.56.2

Summary

  • Update monitor-related header includes for Hyprland 0.56.2.
  • Replace the removed getMonitorFromCursor() call with the monitor query API.

Why

Hyprland 0.56.2 changed its monitor APIs. This change uses State::monitorState()->query() and Pointer::mgr()->position() to determine the monitor under the cursor.

The change is limited to the Hyprland adapter. The pointer movement algorithm and existing configuration remain unchanged.

Testing

  • Built and loaded on Arch Linux with Hyprland 0.56.2.
  • Manually verified the plugin in the running Hyprland session.
  • ctest --preset dev — all 18 tests passed.

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.

1 participant