<p></p>
<p>I'm afraid you just answered your own question, you told the window manager (WM) to do it.</p>
<p>I also have "follow cursor" set (Cinnamon not XFCE) and if I do <code><ctrl>f</code> the focus moves to the dialog ... so long as I don't bump the mouse, then it moves back to the main window as I asked the WM to do.</p>
<p>Geany does request the focus to the dialog, and it goes there, but the WM can override it at any time, and in Cinnamon it seems that any mouse movement causes it to re-focus, but maybe XFCE is more authoritarian, or uses a timer to decide to refocus or something.</p>
<p>Anyway its not under Geany's control AFAICK since WMs can always override focus at any time, and as I said we do issue <code>gtk_widget_grab_focus(find_dlg.entry);</code></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2838#issuecomment-875265363">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ7VD6DIV5HYZQQZ64LTWPJFLANCNFSM474QBZRA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ4HAZHRG2OHCKHNIMDTWPJFLA5CNFSM474QBZRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGQVX2UY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2838#issuecomment-875265363",
"url": "https://github.com/geany/geany/issues/2838#issuecomment-875265363",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>