Hi all


I am new here and hopefully you can help me with my problem. I am trying to use

XFixesCreatePointerBarrier and XFixesDestroyPointerBarrier


Creating works and I can see how the barrier works. To release the barrier I can catch the events using


XI_BarrierHit
XI_BarrierLeave

which I did and after receiving that event I used XIBarrierReleasePointer to release it. I know if I wanna 'disable' this barrier
the step has to be repeated
everytime the pointer hits the barrier etc.
What I like to do is to destroy the barrier so that it should not be used at all. I like to remove it completely. Using
XFixesDestroyPointerBarrier on the barrier gives me after couple of events

X Error of failed request: 141
Major opcode of failed request: 138 (XFIXES)
Minor opcode of failed request: 32 ()
Serial number of failed request: 87
Current serial number in output stream: 87

What is it I am doing wrong? Hope someone can help me with that.

Cengiz (yaakuro)
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

Reply via email to