Hi!

BIG RED WARNING: My Xlib experience is next to zero, so I'm not sure
if this won't kill wrong client some sunny day.

diff -Nru xloadimage-4.1/root.c xloadimage-4.1.hacked2/root.c
--- xloadimage-4.1/root.c       2007-12-18 13:59:16.000000000 +0300
+++ xloadimage-4.1.hacked2/root.c       2007-12-18 14:16:35.000000000 +0300
@@ -91,6 +91,10 @@
              RETAIN_PROP_NAME, "xloadimage");
     }
   }
+  if (pm) {
+           XKillClient(dpy, (XID) *pm);
+           Xfree(pm);
+  }
 }
 
 #if FIND_DEC_ROOTWINDOW

Best regards,
        Alexei

-- 
All science is either physics or stamp collecting.

Attachment: signature.asc
Description: Digital signature

Reply via email to