开发者

XCloseDisplay hangs

I'm working on a small self-开发者_如何学运维written window manager, the project is at the very beginning and there are just a few lines of code communicating with the X server. The problem comes at exit: the program hangs when XCloseDisplay is called.

There is no window manager running while testing, the program just initializes some features, gets the screens and the available windows, call XSelectEvent on the default root and prints out the number of windows retrieved. Then it cleans it's internal data and tries to close the connection with the X server.

At that point it hangs until killed.


Solved. The problem was not with X11 but with the compilation process. Some headers were updated but the source file were not. If you have problem like this, remember to delete your object files and build the whole application again.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜