util  Check-in [8d306ffbd5]

Overview
Comment:prettify header
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8d306ffbd59be76f57436299ca51e08e3b74d84c9115765d9741392927a7069d
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      1   /* [ʞ] safekill.c <c.hale.su/lexi/util>
     2      2    *  ~ lexi hale <lexi@hale.su>
     3      3    *  $ cc -Ofast safekill.c -lX11 -lc -osafekill
            4  + *  © affero general public license
     4      5    * a utility to make it harder to accidentally nuke
     5         - * important windows on i3wm or whatever.
     6         - * released under affero general public license */
            6  + * important windows on i3wm or whatever. */
     7      7   
     8      8   #include <X11/Xlib.h>
     9      9   #include <X11/Xutil.h>
    10     10   #include <stdio.h>
    11     11   #include <stdlib.h>
    12     12   #include <string.h>
    13     13   #include <errno.h>