Re: Disable system click for an application?

2011-03-23 Thread Kimmo Hämäläinen
On 03/23/11 00:30, ext Tarantism wrote: I'd like to disable the system touch screen click for my application. Can this be done? The best way depends on your application. Do you use GTK/Qt/pure-X or what? In GTK, you could create a widget and call gtk_grab_add() for it to catch all mouse

Re: Disable system click for an application?

2011-03-23 Thread Tarantism
On Wed, 2011-03-23 at 10:31 +0200, Kimmo Hämäläinen wrote: On 03/23/11 00:30, ext Tarantism wrote: I'd like to disable the system touch screen click for my application. The best way depends on your application. Do you use GTK/Qt/pure-X or what? I'm using Qt. In GTK, you could create a

RE: Disable system click for an application?

2011-03-23 Thread Felipe Crochik
Typically installing a event filter should be enough for most cases. If not, you can create a class derived from QApplication and override the notify method (http://doc.qt.nokia.com/latest/qcoreapplication.html#notify). It will allow you to filter all the events before they can make to any