|
Blender
V2.93
|
Go to the source code of this file.
Classes | |
| class | GHOST_SystemX11 |
Macros | |
| #define | GHOST_X11_ERROR_HANDLERS_OVERRIDE(var) |
| #define | GHOST_X11_ERROR_HANDLERS_RESTORE(var) |
Functions | |
| int | GHOST_X11_ApplicationErrorHandler (Display *display, XErrorEvent *theEvent) |
| int | GHOST_X11_ApplicationIOErrorHandler (Display *display) |
Declaration of GHOST_SystemX11 class.
Definition in file GHOST_SystemX11.h.
| #define GHOST_X11_ERROR_HANDLERS_OVERRIDE | ( | var | ) |
Definition at line 53 of file GHOST_SystemX11.h.
| #define GHOST_X11_ERROR_HANDLERS_RESTORE | ( | var | ) |
Definition at line 62 of file GHOST_SystemX11.h.
| int GHOST_X11_ApplicationErrorHandler | ( | Display * | display, |
| XErrorEvent * | event | ||
| ) |
These callbacks can be used for debugging, so we can breakpoint on an X11 error.
Dummy function to get around IO Handler exiting if device invalid Basically it will not crash blender now if you have a X device that is configured but not plugged in.
Definition at line 2520 of file GHOST_SystemX11.cpp.
References GHOST_ISystem::getSystem(), and GHOST_ISystem::isDebugEnabled().
Referenced by GHOST_SystemX11::GHOST_SystemX11().
| int GHOST_X11_ApplicationIOErrorHandler | ( | Display * | display | ) |
Definition at line 2546 of file GHOST_SystemX11.cpp.
References GHOST_ISystem::getSystem(), and GHOST_ISystem::isDebugEnabled().
Referenced by GHOST_SystemX11::GHOST_SystemX11().