<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Carsten Haitzler (The Rasterman) schrieb:
<blockquote cite="mid:20091031114900.a77e1d69.raster@rasterman.com"
 type="cite">
  <pre wrap="">On Fri, 30 Oct 2009 19:47:27 +0100 Matthias Huber
<a class="moz-txt-link-rfc2396E" href="mailto:matthias.huber@wollishausen.de">&lt;matthias.huber@wollishausen.de&gt;</a> said:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Laszlo KREKACS schrieb:
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">To not confuse with window changing, I would suggest the following
scenario:
1. double click for launching an app


why double click ? for me, i am using double click for a menu and a single
click for starting the app.
    
        </pre>
      </blockquote>
      <pre wrap="">Because when sliding, you can have accidental clicks. I know it from
the hard way.
(I came up a nice usability workaround in paroli exactly for this
issue. It works good.)
  
      </pre>
    </blockquote>
    <pre wrap="">yes i know this also from paroli. but it is solvable i think.

openbox has a tunable parameter for distinguish between slide and click.
in my oppinion, this is highly usable.

i personally find a single click more elegant and usable than double click.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
the problem is not differentiating between slide and click - e and elementary
have this too. it's that if you drag horizontally for example, your actual
events often look something like:

+----+ +--+ +--+   +-----+ +    +-+    + +------+ + +   +   +---+
  </pre>
</blockquote>
that's exact what i told you, what openbox has: they say: if movement
&lt; number_pixels then its click,<br>
if movement &gt;= pixels, its slide.<br>
<br>
in your case, one could hava a hysteresis over the time: if a single
click comes shortly after a slide,<br>
it is part of slide.<br>
<br>
if you measure now the time of the tap, you have all you need for
differentiating between all this three events.<br>
<br>
generally i think, its better to get the btn-release instead of
btn-down. (from the view of windowmanager)<br>
<br>
and you are right: it should be done in tslib or window manager.<br>
<br>
</body>
</html>