<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"><head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
 </head><body><p><span style="font-family: arial,helvetica,sans-serif;">Hi all</span><br></p><p><br></p><p><span style="font-family: arial,helvetica,sans-serif;">I am new here and hopefully you can help me with my problem. I am trying to use</span></p><pre><span style="font-family: arial,helvetica,sans-serif;"><em><strong>XFixesCreatePointerBarrier</strong> and <strong>XFixesDestroyPointerBarrier</strong><br><br><br></em>Creating works and I can see how the barrier works. To release the barrier I can catch the events using</span><br><br><strong><span style="font-family: arial,helvetica,sans-serif;">XI_BarrierHit</span></strong><br><strong><span style="font-family: arial,helvetica,sans-serif;">XI_BarrierLeave</span></strong><br><br><span style="font-family: arial,helvetica,sans-serif;">which I did and after receiving that event I used <strong>XIBarrierReleasePointer</strong> to release it. I know if I wanna 'disable' this barrier <br>the step has to be repeated </span><span style="font-family: arial,helvetica,sans-serif;">everytime the pointer hits the barrier etc.</span><br><span style="font-family: arial,helvetica,sans-serif;">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</span></pre><pre><span style="font-family: arial,helvetica,sans-serif;"><strong><em>XFixesDestroyPointerBarrier</em></strong> on the barrier gives me after couple of events</span><br><br><span style="font-family: arial,helvetica,sans-serif;">X Error of failed request: 141</span><br><span style="font-family: arial,helvetica,sans-serif;"> Major opcode of failed request: 138 (XFIXES)</span><br><span style="font-family: arial,helvetica,sans-serif;"> Minor opcode of failed request: 32 ()</span><br><span style="font-family: arial,helvetica,sans-serif;"> Serial number of failed request: 87</span><br><span style="font-family: arial,helvetica,sans-serif;"> Current serial number in output stream: 87</span><br><br><span style="font-family: arial,helvetica,sans-serif;">What is it I am doing wrong? Hope someone can help me with that.</span><br><br>Cengiz (yaakuro)<br></pre></body></html>