| 308 | } |
| 309 | |
| 310 | int XWindowsUtil::ErrorLock::internalHandler(Display *display, XErrorEvent *event) |
| 311 | { |
| 312 | if (s_top != nullptr && s_top->m_handler != nullptr) { |
| 313 | s_top->m_handler(display, event, s_top->m_userData); |
| 314 | } |
| 315 | return 0; |
| 316 | } |
| 317 | |
| 318 | void XWindowsUtil::ErrorLock::ignoreHandler(Display *, XErrorEvent *e, void *) |
| 319 | { |
nothing calls this directly
no outgoing calls
no test coverage detected