Open
Conversation
Collaborator
|
This does not meet your requirements because it cannot monitor mouse events and update them in real time. If an ipc event is triggered every time the mouse moves, the load would be too heavy On the client side, there are ways to detect whether the mouse has entered a certain area, such as quickshell and wayedge. These implementations from the client's perspective have the lowest cost To sum up, this function should be detected by the client itself. Forcing support on the compositor is too heavy. |
Author
|
It fits my needs of getting cursor position on demand. I just poll the cursor position with a shell script as watching it for every change would be too expensive an operation. I don't know about its general applicability for all users though. |
c43f8e3 to
30692f6
Compare
e357c8f to
6b79a43
Compare
d31d43c to
68075c0
Compare
dc016eb to
6b2d694
Compare
673ec40 to
db30977
Compare
17ff2ad to
064bcad
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Related Issue
#398