-
-
Notifications
You must be signed in to change notification settings - Fork 898
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
Replace monitor rule when disabling head. Closes #5978 #6136
Replace monitor rule when disabling head. Closes #5978 #6136
Conversation
As mentioned in the issue thread, it looks like with this I can disable monitor via kanshi, but cannot re-enable it. Probably because of a similar problem. I'll try to fix that too UPDATE: looks like it's working after last commit. I'll wait for people to confirm this in the issue thread before re-requesting review |
tag me when ready and tested |
@vaxerski this is ready to be reviewed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rest ok, I assume tested and fixes the issue?
Yes, a few people reported back and it looks like we can close the issue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
Describe your PR, what does it fix/add?
Fixes Issue #5978. The main reason was that the monitor rule was not updated, and thus the head would get re-enabled when calling
performMonitorReload
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
I'm not sure this is the best way of doing it. Would it be a better idea to make
Monitor.activeMonitorRule
a pointer to the actual rule?Is it ready for merging, or does it need work?
See above.