I'll be blunt and say we won't implement this. This would be inconsistent with all other applications I know of, and it's not our role IMO. If you want this, make it so your WM/graphic server/whatever else don't send the input events for unfocused windows. Finally, this might be tricky to implement correctly (depending on the event sequence we actually receive, I didn't check), as it'd have to differentiate a event focusing the window from the first after that (what if you focused with the keyboard and then clicked? you don't want to ignore that), etc.
If really you want this, it maybe me possible to hack it around with a plugin, or more sensibly maybe with a GTK module; but I don't think we want this in stock Geany. --- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/817#issuecomment-164789220
