xlib 에러 해결!
Programming/GTK+ 2007. 2. 28. 16:51
The program 'key_grab_ex' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAccess (attempt to access private resource denied)'.
(Details: serial 11 error_code 10 request_code 33 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.)
쓰래드랑 Xlib랑 같이 썼을경우에 나타남..
일단 쓰레드 사용이 재대로 되었나 확인할것...
또 키가 겹치지 않는지 확인하자!
window-manager,사용자 설정과 같이 겹치면 ..XXXXXXXXXX
전역단축키가 걸려있는데 그걸또 불러내게 하니까 위의 오류가 나서...
This probably reflects a bug in the program.
The error was 'BadAccess (attempt to access private resource denied)'.
(Details: serial 11 error_code 10 request_code 33 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.)
쓰래드랑 Xlib랑 같이 썼을경우에 나타남..
일단 쓰레드 사용이 재대로 되었나 확인할것...
또 키가 겹치지 않는지 확인하자!
window-manager,사용자 설정과 같이 겹치면 ..XXXXXXXXXX
전역단축키가 걸려있는데 그걸또 불러내게 하니까 위의 오류가 나서...
'Programming > GTK+' 카테고리의 다른 글
윈도우 메니져 설정 무시하고 윈도우 만들기 (2) | 2007.06.14 |
---|---|
g_signal_connect의 폐해? (4) | 2007.03.30 |
xlib 에러 해결! (2) | 2007.02.28 |
gtk Thread (2) | 2007.02.27 |
vte를 이용한 간단한 터미널 (2) | 2007.01.14 |
libglade 컴파일법 (1) | 2006.12.14 |
-
oseb 2007.02.28 17:58
뭔가 복잡한 것 같은데.. 아래 게시물의 에러에 대한 답글이군요.
아무튼 !(느낌표)만큼 강하게 답답함이 풀린 것 같아 보여 보기 좋습니다.
윈도우즈에서 보통 마우스 포인터 바꿀 때 이전 값 보관하고 사용했다가 복구하는 것처럼 X-윈도우도 전역키는 app에서 사용할 경우 이전 값이 있다는 가정하에 보관했다가 사용후에 재설정하는 방식을 해야 한다는 것 같네요.