diff options
Diffstat (limited to 'app/x11_util.h')
-rw-r--r-- | app/x11_util.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/x11_util.h b/app/x11_util.h index 8ebed23..c07f42c 100644 --- a/app/x11_util.h +++ b/app/x11_util.h @@ -173,8 +173,10 @@ void GrabWindowSnapshot(GtkWindow* gdk_window, // Change desktop for |window| to the desktop of |destination| window. bool ChangeWindowDesktop(XID window, XID destination); -// Sets the X Error Handlers so we can catch X errors and crash. -void SetX11ErrorHandlers(); +// Enable the default X error handlers. These will log the error and abort +// the process if called. Use SetX11ErrorHandlers() from x11_util_internal.h +// to set your own error handlers. +void SetDefaultX11ErrorHandlers(); } // namespace x11_util |