IreneKnapp / oneko

An update of the classic digital kitten.
20 stars 6 forks source link

Make Oneko Click-through #3

Open jyi2ya opened 1 year ago

jyi2ya commented 1 year ago

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 commented 1 year ago

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.