-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
grimblast: add environment var 'GRIMBLAST_HIDE_CURSOR' to avoid high CPU loads on some machines #136
base: main
Are you sure you want to change the base?
Conversation
@Atemo-C, you need to add |
Strange… When using Grimblast from the unstable pkgs in NixOS, Edit: Actually, the problem does go back to the previous patches with the fake display workaround, I must have missed it in testing earlier. |
This is when the issue started appearing, and it is still here, though, again, only on my second monitor. |
Oh wow, goes bad quite a bit further than I thought. |
The env variable works for me, but as @Atemo-C noted the cursor is visible when it's set |
…CPU loads on some machines
The bad commit wasn't me so I can't fix this issue for now. You can create a new issue for that. |
I created it here, includes a possible fix, too. With all of this put together, every single function now works as expected, nothing to say. |
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.
Looks good, but we should also add an entry in the manual and in the help section, informing users that if they get double cursors when screenshotting area
, they should set the env var.
I changed the logic so that by default, the cursor is not visible and if you have high CPU loads, you can add |
It should be good now. |
Description of changes
fixes #134
The grim cursor is not visible by default, but if your machine has high CPU loads you can add
env = GRIMBLAST_HIDE_CURSOR, 0
to your Hyprland config file (the grim cursor will be visible).Things done
For new programs
For changes