#include <CXWindowsUtil.h>
Collaboration diagram for CXWindowsUtil::CErrorLock:
Public Types | |
typedef void(* | ErrorHandler )(Display *, XErrorEvent *, void *userData) |
Error handler type. | |
Public Member Functions | |
CErrorLock (Display *) | |
CErrorLock (Display *, bool *errorFlag) | |
CErrorLock (Display *, ErrorHandler handler, void *userData) |
This class sets an X error handler in the c'tor and restores the previous error handler in the d'tor. A lock should only be installed while the display is locked by the thread.
CErrorLock() ignores errors CErrorLock(bool* flag) sets *flag to true if any error occurs
Definition at line 128 of file CXWindowsUtil.h.
|
Ignore X11 errors. Definition at line 1702 of file CXWindowsUtil.cpp. |
|
Set Definition at line 1708 of file CXWindowsUtil.cpp. |
|
Call Definition at line 1714 of file CXWindowsUtil.cpp. |