|
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
typedef enum { false, true } bool;
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* [ʞ] safekill.c <c.hale.su/lexi/util>
* - lexi hale <lexi@hale.su>
* a utility to make it harder to accidentally nuke
* important windows from i3 or whatever.
* released under affero general public license */
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
typedef enum { false, true } bool;
|