<blockquote>
<p>Single instance doesn't happen if no file arguments are passed. Not using -i is not enough.</p>
</blockquote>

<p>Ok, true.</p>

<blockquote>
<p>Geany already has the mechanism and it's simpler and more reliable that way.</p>
</blockquote>

<p>I was wondering how well the gtk present() mechanism works on non-gtk desktops? Geany only has special handling for win and x11.</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/pull/1128#issuecomment-231327529">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/ABDrJ1w9Ja7E7JA6RODFhhm5zJvRT36Tks5qTiYmgaJpZM4JH3f0">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ_h2TvoFkQSb2d8DtlcZUr0brBmfks5qTiYmgaJpZM4JH3f0.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/pull/1128#issuecomment-231327529"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>