Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: incorrect ActiveWindowChangedV2 address #192

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

thrombe
Copy link
Contributor

@thrombe thrombe commented Mar 21, 2024

as i understand it, the callback to add_active_window_change_handler receives a Option<WindowEventData>. which suggests it should be None when no window is active.

after a bunch of debugging, i found this check, which should be done before formatting the address.

@thrombe thrombe changed the title fix: add_active_window_change_handler callback does not get called when no window is active. fix: incorrect ActiveWindowChangedV2 address Mar 21, 2024
Copy link
Member

@yavko yavko left a comment

Choose a reason for hiding this comment

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

Wow, that was stupid

@yavko yavko merged commit 227bec1 into hyprland-community:master Mar 21, 2024
3 checks 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.

2 participants