Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
Rewrite the signal handler dialogs.
Browse files Browse the repository at this point in the history
This commit is a rewrite of the popup dialogs used when i3 crashes. We now
use our draw_util suite and both properly react to EXPOSE events and clean
up the windows when the handler exits.

As a side-effect, this fixes #2422
  • Loading branch information
Airblader committed Jan 10, 2017
1 parent d4066a6 commit abf8300
Show file tree
Hide file tree
Showing 2 changed files with 179 additions and 157 deletions.
7 changes: 2 additions & 5 deletions include/sighandler.h
Expand Up @@ -3,18 +3,15 @@
*
* i3 - an improved dynamic tiling window manager
* © 2009 Michael Stapelberg and contributors (see also: LICENSE)
* © 2009 Jan-Erik Rediger
*
* sighandler.c: Interactive crash dialog upon SIGSEGV/SIGABRT/SIGFPE (offers
* to restart inplace).
*
*/
#pragma once

#include <config.h>

/**
* Setup signal handlers to safely handle SIGSEGV and SIGFPE
* Configured a signal handler to gracefully handle crashes and allow the user
* to generate a backtrace and rescue their session.
*
*/
void setup_signal_handler(void);

0 comments on commit abf8300

Please sign in to comment.