I think with a bit of extra love...
This could be useful.
There are still situations where a program could open a window that is STUPIDLY large (QT ABOUT I'm looking at you)
so... to remedy this I propose a sentinel process that monitors the logs for double tap (or maybe pinching..) that IDEALLY would fire up a dialog requesting the the users permission to close out the application (failsafe)
however... In the absence of such a process...
The following bit of code could at least provide a monitor to "close out" (I.e. exit) badly behaving apps...
Code:
echo "" > /var/log/messages; \
showlog -f | awk '$0 ~ /.*GestureEngine*./ {print $6,$7}'
TAP then release gives
1 down
1 up
Two finger tap then release gives
2 down
2 up
Various double finger pinch/zoom swipes:
9 down
9 up
7 up
7 down
8 down
8 up
So I will look to create a sentinel process that kills off the last registered (or perhaps ACTIVE WINDOW) for these worst case scenarios)
Other than that - very happy now
of course this does mean that apps that EXPECT pinch will be affected but unless someone has a better idea... This is what I have.