<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<body bgcolor="#ffffff" text="#000000">
Laszlo KREKACS schrieb:
<pre wrap="">On Sat, Oct 31, 2009 at 9:21 AM, Matthias Huber
<a class="moz-txt-link-rfc2396E" href="mailto:firstname.lastname@example.org"><email@example.com></a> wrote:
<pre wrap="">that's exact what i told you, what openbox has: they say: if movement <
number_pixels then its click,
if movement >= pixels, its slide.
in your case, one could hava a hysteresis over the time: if a single click
comes shortly after a slide,
it is part of slide.
if you measure now the time of the tap, you have all you need for
differentiating between all this three events.
generally i think, its better to get the btn-release instead of btn-down.
(from the view of windowmanager)
and you are right: it should be done in tslib or window manager.
In that case you just killed any application which are drawing oriented.
So no Xournal, Sketchbook or any such application.
why do you think so ?<br>