wmctrl builds OK on amd64, but has problems reporting on desktops (workspaces) With $ wctrl -d It crashes as follows: GLib-ERROR **: gmem.c:154: failed to allocate 369435906932816 bytes aborting... Aborted With $ wctrl -l The list of windows is truncated and the workspaces are not reported correctly This is apparently due to the 64-bit implementation of X Windows, and has been reported and fixed by Chris Donoghue on the Debian bug lists. See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=362068 To fix, I used the Debian patch 1.07 -> 1.07_6 located at: http://ftp.debian.org/debian/pool/main/w/wmctrl/wmctrl_1.07-6.diff.gz This required some editing of text at the top (I commented it out), then it built correctly and worked correctly on my amd64 system Reproducible: Always Steps to Reproduce: As above Actual Results: As above Expected Results: As above Sorry if I didn't do this quite right. It's my first bug report, and I'm not a developer. I just thought that this might be useful.
I can confirm this too. I did a bit of searching online and found that Debian has fixed this bug in their repository with the patch I am attaching. This patch seems to work for me.
Created attachment 121525 [details, diff] Patch to add proper 64-bit Xlib support to wmctrl
desktop-wm: please see the patch in comment #2
That was fixed sometime ago by lack. Reopen if you find any problem with it. Thanks.