<p><a href="https://github.com/elextr" class="user-mention">@elextr</a></p>

<blockquote>
<p>Single instance should happen if you don't use -i (including starting the first instance).</p>
</blockquote>

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

<blockquote>
<p>So effectively this becomes just a command for Geany to attempt to raise itself, but couldn't your desktop do it more reliably? </p>
</blockquote>

<p>Maybe we can use some window-searching hacks to do that, like using a shell script and <code>wmctrl</code>, but it would better if we incorporate it to Geany itself since Geany already has the mechanism and it's simpler and more reliable that way.  Also, not all desktops can support the feature e.g. most X-based desktops.</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-231324393">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/ABDrJwQnokxbzLRh0WcYZubuAFy3xryMks5qTiIggaJpZM4JH3f0">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJwBv2NAWor6H0Y7KRsai1CXk8TWhks5qTiIggaJpZM4JH3f0.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-231324393"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>