[openbox] [Patch] Least overlap placement
itz at buug.org
Thu Jun 2 12:23:01 EDT 2011
On Thu, 02 Jun 2011 14:58:14 +0200
David Vogt <dv at adfinis.ch> wrote:
David> Hehe. Actually, this is not far from the truth. I did change
David> that code, but didn't realize that the return type of pick_head()
David> changed from 3.4 to master, so my attempt to "fix" it resulted in
David> the code above.
David> The return type changed from Rect** to Rect*. Being awake now,
David> the change is simpler than I thought last night. See the attached
David> patch :)
Thanks for your help!
To my naked eye, it looks like the Rect* returned by pick_head() could
leak, but I haven't inspected the rest of place.c in git head, maybe it
is static or something.
gpg public key: 1024D/C6FF61AD
fingerprint: 66DC D68F 5C1B 4D71 2EE5 BD03 8A00 786C C6FF 61AD
Rule 420: All persons more than eight miles high to leave the court.
More information about the openbox