<p>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.<br>
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.</p>

<p>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.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/issues/817#issuecomment-164789220">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ0M-g3tnIrp6VwU7YU9FV5A0Er6oks5pQCIzgaJpZM4G1LhS.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/817#issuecomment-164789220"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>