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

Make Oneko Click-through #3

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

Conversation

jyi2ya
Copy link

@jyi2ya jyi2ya commented Jan 10, 2023

With a window manager that uses the "Focus Follows Mouse" mode, oneko is focused every time it reaches the mouse. If focused, oneko will consume all mouse events, which is sometimes annoying. For example, if I click a button and oneko is laying under the mouse, this click event will be sent to oneko but not the button. I have to first move the mouse to somewhere to drive away oneko, and try to click the button before it comes back.

This patch tries to solve this problem by making oneko click-through. All events that oneko received will be simply passed through. This feature depends on X11 XFixed extension, which means we need to add -lXfixed to our compile options.

@IreneKnapp
Copy link
Owner

oo! thanks so much, I like this and want to accept it. I will do detailed code review when I get the chance, it may be a little while.

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.

2 participants