This is my first post as I am new to Qt and to the community (used to code in Delphi).

I am working on a very simple app which gets a key evt and triggers setPos just like: QCursor::setPos(QCursor:os()+QPoint(0, 10));

Unfortunatelly, even if I trigger it just once, after 1 or 2 seconds my app crashes and I get a "<unknown>: Fatal IO error 0 (Success) on X server :0.0."

I'm running Ubuntu 9.04 Desktop on a Toshiba Celeron M/ATI notebook. w/ CompizFusion enabled.

Any clues?

Thanks in advance.