When I was running an application then on pressing a key the following message came:
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 42 (X_SetInputFocus)
Serial number of failed request: 7345
Current serial number in output stream: 7347
It seems to be something related to graphics, but can't understand. After the above error came the application got terminated.