Comment 4 for bug 1092651

Revision history for this message
Robert M (osfan6313) wrote :

One minor change: the test for mouseButtonModifier needs to be there, as getGnomeMouseButton modifier could potentially fail if there is no setting found for that. To change that, I've fixed getGnomeMouseButton to return -1 on error, not sure if that's the best to return but since 0 is apparently a valid value it's the only other error that makes sense.

Patch attached.