| 1621 | } |
| 1622 | |
| 1623 | int XWindowsScreen::ioErrorHandler(Display *) |
| 1624 | { |
| 1625 | // the display has disconnected, probably because X is shutting |
| 1626 | // down. X forces us to exit at this point which is annoying. |
| 1627 | // we'll pretend as if we won't exit so we try to make sure we |
| 1628 | // don't access the display anymore. |
| 1629 | LOG_CRIT("x display has unexpectedly disconnected"); |
| 1630 | s_screen->onError(); |
| 1631 | return 0; |
| 1632 | } |
| 1633 | |
| 1634 | void XWindowsScreen::selectEvents(Window w) const |
| 1635 | { |