Differences From Artifact [77306fdca0]:
- File safekill.c — part of check-in [4dc779457a] at 2019-04-08 02:07:07 on branch trunk — initial commit; add safekill (user: lexi, size: 3006) [annotate] [blame] [check-ins using]
To Artifact [aec7b0082f]:
- File safekill.c — part of check-in [b1db39e205] at 2019-04-08 02:21:45 on branch trunk — add author, agpl notice (user: lexi, size: 3226) [annotate] [blame] [check-ins using]
1 +/* [ʞ] safekill.c <c.hale.su/lexi/util> 2 + * - lexi hale <lexi@hale.su> 3 + * a utility to make it harder to accidentally nuke 4 + * important windows from i3 or whatever. 5 + * released under affero general public license */ 6 + 1 7 #include <X11/Xlib.h> 2 8 #include <X11/Xutil.h> 3 9 #include <stdio.h> 4 10 #include <stdlib.h> 5 11 #include <string.h> 6 12 #include <errno.h> 7 13 typedef enum { false, true } bool;