added popup for handling SIGSEGV or SIGFPE

the popup is placed on each of the virtual screens
the user can decide to restart or quit i3
in case of an exit a core-dump is generated
This commit is contained in:
Jan-Erik Rediger
2010-01-03 14:52:38 +01:00
committed by Michael Stapelberg
parent 715983024d
commit 614b360bd4
6 changed files with 300 additions and 45 deletions

View File

@ -150,6 +150,13 @@ void switch_layout_mode(xcb_connection_t *conn, Container *container, int mode);
Client *get_matching_client(xcb_connection_t *conn,
const char *window_classtitle, Client *specific);
/*
* Restart i3 in-place
* appends -a to argument list to disable autostart
*
*/
void i3_restart();
#if defined(__OpenBSD__)
/* OpenBSD does not provide memmem(), so we provide FreeBSDs implementation */
void *memmem(const void *l, size_t l_len, const void *s, size_t s_len);