nanogui: nxcal - how does it work?
Subject:
nxcal - how does it work?
From:
####@####.####
Date:
25 Jul 2007 10:46:00 +0100
Message-Id: <1185356665.6606.18.camel@localhost>
I replaced "MOUSE_TRANSFORM" from mou_touchscreen.c with "MOUSE_NORMAL"
and now it seems working.
But now nxcal doesn't work anymore. And I guess I can't figure out how
it works.
It uses GR_EVENT_TYPE_BUTTON_DOWN to trigger mouse press, but first in
the "handle_pos"-function it checks whether GR_BUTTON_L is pressed,
which to me seems like quite the same thing.
I guess it's waiting for a button release, but it will never happen
because BUTTON_UP event isn't selected.
I tried to add BUTTON_UP event to selected events, but then it just say
"nano-X: implicit ungrab on window 1".
Any ideas?
Regards Daniel