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
hotspot support #841
hotspot support #841
Conversation
I'm building now with this as well to test, after thinking about it, |
works fine with the exception that changing options to a hotspot requires wayfire restart
to
has no effect |
Ah yes I forgot to recreate hotspots on config reload, I'll fix it. |
d605f6a
to
2323ff5
Compare
hotspot reload still doesn't work
to
I used branch hotspot-support for build or do other things need to applied (except wf-config) |
@damianatorrpm I think I fixed the reloading issue, can you try again? (also update wf-config because the bug was there, the fix was pushed on the same branch) |
@ammen99 Yep, work fine |
Otherwise, we are recreating them each time an activator is added or removed which can happen many times consecutively. Instead, we should reload on the next idle, in order to group such changes together.
Needed for hotspot support.
f0a993d
to
036ae09
Compare
This PR adds basic support for hotspots. The required changes for wf-config are not merged yet,
see https://github.com/WayfireWM/wf-config/tree/add-hotspots.
Hotspots are currently supported as part of activator bindings. For example,
The meaning of the example: the hotspot is in the top-left corner.
It spawns an area of 100 pixels along both edges, with a "width" of 10 pixels, i.e. the same as explained
here: #572
The last parameter means that the cursor needs to stay for
1000
milliseconds in the hotspot to activate it.Fixes #298