MCPcopy Create free account
hub / github.com/deskflow/deskflow / ioErrorHandler

Method ioErrorHandler

src/lib/platform/XWindowsScreen.cpp:1623–1632  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1621}
1622
1623int 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
1634void XWindowsScreen::selectEvents(Window w) const
1635{

Callers

nothing calls this directly

Calls 1

onErrorMethod · 0.80

Tested by

no test coverage detected