Gtting X-windows error while runing gtk application.
Posted
by PP
on Stack Overflow
See other posts from Stack Overflow
or by PP
Published on 2010-04-19T05:32:47Z
Indexed on
2010/04/19
5:33 UTC
Read the original article
Hit count: 211
I have written one gtk application but i am getting following X Windows error while running it:
The program 'TestApp' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 222 error_code 8 request_code 2 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
What might be the cause of this error?
I have written this app in GTK+ and C.
Thank,
PP.
© Stack Overflow or respective owner