On Thu, 01 Sep 2005 10:17:07 +0300 Nir Tzachar <[EMAIL PROTECTED]> babbled:

> hi.
> 
> i was thinking on the lines of building an e module similar to the mouse
> gestures plugin for firefox. it would be real cool to execute commands
> using mouse gestures in e.
> 
> many codebases for mouse gesture recognition are available. 
> there is even  a general purpose implementation of a stroke engine for
> X 
> (http://www.xstroke.org/) which can send key events and execute
> commands. however, it does not integrate nicely with a window
> manager....
> i think that implementing it in e would be neat ;)
> 
> the base mechanism needed is getting global mouse events from ecore, and
> then feed them to an existing gesture engine. a sane way to coordinate
> the mouse gesture with regular mouse use should also be devised.
> 
> any thoughts?? 

x doesnt work like this. basically when the mouse enters an application window
contents (leaves the window border) the wm styops getting mouse events - unless
the mouse was grabbed (menu operation etc.) and in that case the app will never
get mouse events - so basically you can't do this sanely unless you have some
button, key combo etc. that puts the wm in "grab the mouse" mode for a short
while waitign for some gesture and thus apps get no events. i am not sure thats
useful at all.

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
裸好多                              [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to