On Sun, 6 Sep 2015 23:17:47 +0530 Gaurav Kalra <gvka...@gmail.com> said:

> On Wed, Sep 2, 2015 at 5:11 AM, Carsten Haitzler <ti...@rasterman.com> wrote:
> > On Tue, 01 Sep 2015 07:16:19 +0000 Gaurav Kalra <gvka...@gmail.com> said:
> >
> >> Hello List,
> >>
> >> I am trying to monitor mouse events with a service application (no UI). My
> >> first try is committed here:
> >> https://github.com/gvkalra/gestures/blob/master/src/gestures.c
> >
> > 1. DONT DO THIS. ecore events for input are low level. don't touch them. you
> > don't get anything like rotation handling or even routing (eg you don't know
> > what window the event is for - what is the windows position on screen etc.
> > etc.
> >
> > 2. you don't magically get ALL events. you only get events for the windows
> > YOU create OR select for input on. as such you do not create any windows so
> > you'll never get any input assuming everything else was done right. and
> > selecting for input on OTHER windows is a low level x11 operation in tizen
> > 2. and tizen 3.x on "it depends on display system" thus is unportable - so
> > you can never do this anyway. not going to help you there as you're already
> > in forbidden/unportable land.
> 
> 
> Thanks Carsten for the succinct explanation.
> 
> I guess malloc bit me hard for the mistake :)

hehehehe - that's what he's there for. chomp on offenders. :) good you asked.
would save you lots of pain trying to figure it out yourself :)

-- 
Carsten Haitzler (The Rasterman) <ti...@rasterman.com>
_______________________________________________
Application-dev mailing list
Application-dev@lists.tizen.org
https://lists.tizen.org/listinfo/application-dev

Reply via email to