Geany does not have control over this behaviour. Instead don't click on the editing widget to raise Geany, use the window manager or click on the window title or somewhere else outside the edit window and the cursor shouldn't move.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/817#issuecomment-164588169
