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 bug - not being able to click when cursor is on grid line of keynav #78

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mm40
Copy link

@mm40 mm40 commented Apr 18, 2024

When cursor happens to exactly be on top of the line drawn by keynav, clicking (click command from .keynavrc) doesn't work. This is the fix.

Steps to reproduce:

Super+space start, grid 4x3
h warp,end,start , grid 4x3
1 click 1
  1. Press Super+space : the grid is 4x3 appears over entire screen.
  2. Press h : now the cursor is right in the middle of the screen, over the vertical line of keynav.
  3. Press 1 : there should be a click on the position where the cursor is. But, because the cursor is over the line drawn by keynav, no click happens. It's as if the cursor over keynav clicks the keynav "window" itself, rather than the actual application beneath the keynav frame.

Additional notes:

  • I use 4x3 instead of 3x3, because I have my 4 fingers of the jkl; keys of the keyboard home row, and want to use all of them.

When cursor happens to exactly be on top of the line drawn by keynav,
clicking (click command from .keynavrc) doesn't work. This is the fix.

Steps to reproduce:

`
Super+space start, grid 4x3
h warp,end,start , grid 4x3
1 click 1
`

1. Press Super+space : the grid is 4x3 appears over entire screen.
2. Press h : now the cursor is right in the middle of the screen, **over the vertical line of keynav**.
3. Press 1 : there should be a click on the position where the cursor is. But, **because the cursor is over the line drawn by keynav, no click happens**. *It's as if the cursor over keynav clicks the keynav "window" itself, rather than the actual application beneath the keynav frame*.
If colors aren't set, default ones (black inner, white outer) are used.

To set the keynav grid colors, add the following to .keynavrc:

``` config
colors 255, 255, 255, 50, 0, 0
```
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.

1 participant