PDA

View Full Version : [mythbuntu] How to limit the range of a mouse...



zorglups
October 30th, 2008, 12:44 AM
Hi,

I use Firefox in full screen mode to display a flash based web site featuring nice games for little childrens.

I managed to disable all mouse buttons but one and avoid any toolbar to display when my little boy reach the edge of the screen with the mouse cursor...

There is still something I would like to manage.

The upper part of the flash content is a toolbar "for the parent".
I would like to "disable it" by making a click on that screen area forbidden.

Is there a way in X11 to avoid the mouse to reach some part of the screen (eg: The upper band of 50 pixels of the screen)?
Or is there a way to capture the click event and only let it pass through when not in that screen area ?

In windows, I would have used autohotkey to do that but I would never switch back to windows for my media center...

Thanks in advance,

Pierre.