Comment 3 for bug 1002972

>> I can produce the problem by starting an xterm and clicking (or double clicking) the title bar. It moves one pixle to the upper left.
>> Same xclock, and xfontsel, but not xfig, xpdf or any software built on gnome.
>> Since I use a touchpad with separate mouse bottons, we can't blame a tremor for that.
>> New since my recent upgrade to natty.
>>
>> ProblemType: Bug
>> DistroRelease: Ubuntu 11.04
>> Package: xterm 268-1ubuntu1
>> ProcVersionSignature: Ubuntu 2.6.38-15.59-generic 2.6.38.8
>> Uname: Linux 2.6.38-15-generic x86_64
>> Architecture: amd64
>> CompizPlugins: [core,bailer,detection,composite,opengl,decor,regex,winrules,mousepoll,resize,gnomecompat,wall,compiztoolbox,animation,wobbly,extrawm,workarounds,place,vpswitch,imgpng,move,session,expo,ezoom,staticswitcher,ring,fade,scale]
>> CompositorRunning: compiz
>
> I don't see the window manager mentioned (presuming it is the gnome bundled
> stuff).
>
> It's possible that you're exposing yet another bug in compiz.
>
> xterm patch #268 introduces a feature for toggling to full-screen mode,
> which I see is triggered in some configurations by the gnome window manager(*)).
> That's over a year old, by the way. #269 makes the feature configurable,
> e.g., the "fullscreen" resource.
>
> (*) this is a feature of the window manager, not xterm, and would normally
> be addressed by configuring the window manager...
>
> You should be able to verify if it is a compiz bug by temporarily disabling
> that aspect of your configuration.

I think I am using compiz as my window manager (wobbly windows and
stuff). When doing "metacity --replace" xterm does not move anymore
when clicking the titel bar.

This should not be a problem with xterm, because the same happens with
other legacy X11-programs (xclock, xfontconfig). The simplest piece
of software exhibiting the problem is xmessage. The issue must be
with the interaction between one of the libraries xmessage binds and
compiz

$ ldd /usr/bin/xmessage | sort
 /lib64/ld-linux-x86-64.so.2 (0x00007f9af4443000)
 libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f9af3870000)
 libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f9af29ef000)
 libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f9af2e0f000)
 libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f9af302b000)
 libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f9af27e9000)
 libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f9af3c05000)
 libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f9af25e6000)
 libXaw.so.7 => /usr/lib/libXaw.so.7 (0x00007f9af41a6000)
 libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f9af2bf3000)
 libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f9af23e0000)
 libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f9af365e000)
 libXmu.so.6 => /usr/lib/libXmu.so.6 (0x00007f9af3444000)
 libXpm.so.4 => /usr/lib/libXpm.so.4 (0x00007f9af3233000)
 libXt.so.6 => /usr/lib/x86_64-linux-gnu/libXt.so.6 (0x00007f9af3f40000)
 linux-vdso.so.1 => (0x00007fff6d3ff000)

Hope this helps.