The library transset uses to access X supports not only selecting a window using the mouse but can also parse the command line args. A small patch enables this feature. Also a man-page is missing Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 39379 [details, diff] patch to add extended command line args
Created attachment 39380 [details] man page for transset (also reflects the new command line args)
Could you please file this upstream at bugs.freedesktop.org, so everyone benefits?
could you do that? I don't have a bugzilla account there and i don't feel like creating yet another one
Sure, but I'll have to act as a go-between for any questions or requests they have.
http://freedesktop.org/bugzilla/show_bug.cgi?id=1392
I corrected the patch. Now it working. New arg: -translucence (-tr) https://bugs.freedesktop.org/show_bug.cgi?id=1392 error fixed (bad argument handling) Some reason (I don't know why) the Window ID (from the WM, at the command line) is not equal with the event's Window ID (from the mouse press). But the WM's id's 2nd parent the mouse event's ID.
Created attachment 129721 [details, diff] transset corrected patch