Overview
Comment: | prettify header |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
8d306ffbd59be76f57436299ca51e08e |
User & Date: | lexi on 2019-04-08 02:26:41 |
Other Links: | manifest | tags |
Context
2019-04-12
| ||
00:49 | make safekill use _NET_CLOSE_WINDOW extension where available instead of XDestroyWindow, which is super unfriendly and frequently crashes or hard-locks multi-window applications. XDestroyWindow is still available as a fallback if the extension fails; `export k_safekill_fallback=0` to stop this check-in: 12c34052e4 user: lexi tags: trunk | |
2019-04-08
| ||
02:26 | prettify header check-in: 8d306ffbd5 user: lexi tags: trunk | |
02:24 | update header check-in: 737f6cf6c5 user: lexi tags: trunk | |
Changes
Modified safekill.c from [1b91829505] to [d7a13fcb31].
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>
* $ cc -Ofast safekill.c -lX11 -lc -osafekill
* a utility to make it harder to accidentally nuke
* important windows on i3wm 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>
|
> | < |
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> * $ cc -Ofast safekill.c -lX11 -lc -osafekill * © affero general public license * a utility to make it harder to accidentally nuke * important windows on i3wm or whatever. */ #include <X11/Xlib.h> #include <X11/Xutil.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> |