On Mon, August 24, 2009, Carlos R. Mafra wrote:

> The patch is making the 4th and 5th arguments of XGetWindowProperty()
> to be 'long' (as the prototype requires). So I remembered about this
> thread where you quoted the code above with XGetWindowProperty()...

I tried this patch but no success. Actually this is what I
expected since the arguments to XGetWindowProperty() are no
pointers, i.e. they are simply passed by value. In our case
we've got int variables which are assigned to long variables
when the function is called, there's no harm in this at all.

> Is your machine 64-bit, btw? :-)

No, it's 32-bit. 

To me the behaviour seems to be caused by buggy apps. Thus my
original patch may be a sensible way to deal with this anyway.
Better see it crash when looking for the source of the problem
but in the end better have a stable WM :)

Cheers,

M'bert

-- 
----------- / http://herbert.the-little-red-haired-girl.org / -------------
=+= 
Amongst our weaponry are such diverse elements as: fear, surprise, 
ruthless efficiency, an almost fanatical devotion to the Pope, and 
nice red uniforms - Oh damn!


-- 
To unsubscribe, send mail to [email protected].

Reply via email to