root.wallpaper: Cleanup and correctness fixes
commit069a8e84a2a218c7de69cf5492fa09ae931b7ad1
authorUli Schlachter <psychon@znc.in>
Thu, 6 Mar 2014 17:35:17 +0000 (6 18:35 +0100)
committerUli Schlachter <psychon@znc.in>
Thu, 6 Mar 2014 17:35:17 +0000 (6 18:35 +0100)
tree0ea5826a1c0501c591ae5bffdae7188bdbac4b2b
parent20afb26080cd34691c67720fef396bed5a0be237
root.wallpaper: Cleanup and correctness fixes

Turns out that my rant about "we can't query the pixmap's values" was wrong.
This commit makes awesome use a GetGeometry request to get the properties of the
(old) root window's back pixmap.

This also converts code to p_delete() instead of free() for consistency. Bad me
for doing multiple things in one commit...

Signed-off-by: Uli Schlachter <psychon@znc.in>
root.c