Lines Matching refs:pEvent
229 int X11SalData::XErrorHdl( Display *pDisplay, XErrorEvent *pEvent ) in XErrorHdl() argument
231 GetX11SalData()->XError( pDisplay, pEvent ); in XErrorHdl()
487 static void PrintXError( Display *pDisplay, XErrorEvent *pEvent ) in PrintXError() argument
491 XGetErrorText( pDisplay, pEvent->error_code, msg, sizeof( msg ) ); in PrintXError()
494 if( pEvent->request_code < capacityof( XRequest ) ) in PrintXError()
496 const char* pName = XRequest[pEvent->request_code]; in PrintXError()
499 std::fprintf( stderr, "\tMajor opcode: %d (%s)\n", pEvent->request_code, pName ); in PrintXError()
503 std::fprintf( stderr, "\tMajor opcode: %d\n", pEvent->request_code ); in PrintXError()
505 std::fprintf( stderr, "\tMinor opcode: %d\n", pEvent->minor_code ); in PrintXError()
509 pEvent->resourceid ); in PrintXError()
511 pEvent->serial, LastKnownRequestProcessed(pDisplay) ); in PrintXError()
523 void SalXLib::XError( Display *pDisplay, XErrorEvent *pEvent ) in XError() argument
530 if ( (pEvent->error_code == BadAlloc) in XError()
531 && (pEvent->request_code == X_OpenFont) ) in XError()
548 else if( pEvent->request_code == X_SetInputFocus || in XError()
549 pEvent->request_code == X_GetProperty in XError()
557 PrintXError( pDisplay, pEvent ); in XError()