Submitted by Ross Burton
Hand held devices (and people who love Mac's too much) need to have a way of entering a right click on input devices with a single button (like a stylus).
The customary way of doing this is called "hold'n'tap", where holding down the button for a fraction of a second and not moving much is interpretted as a right click. Holding and moving a large distance should be a drag as usual.
There are two ways of implementing this:
as a GTK+ module loaded at runtime. GPE has a project which does this called libgtkstylus, an updated version of which is available at burtonini.com/temp/libgtkstylus-0.4.tar.gz. This works at the raw event level by using gdk_event_handler_set().
as a patch to GtkWidget. Maemo has a patch which does this. In my opinion their patch is over-engineered: it supports arbitary callbacks on hold, not faking a right click, and can show an amimation. As it uses custom callbacks the use of this patch doesn't magically make holding down work everywhere as a right click.
This would probably be implemented as part of the gtk-stylus-mode XSetting.