开发者

Wait until a requested event is finished in X11

I want to resize some window with

XResizeWi开发者_Go百科ndow(display, xid, width, height) 

which was created by another application and waits until it is really resized.

I tried the following:

XSync(display, 0) 

but it does not work.

Any suggestions?


XSync just ensures the request has been delivered to the Xserver, and doesn't wait for the other application and/or window manager to deal with the request.

Have you tried registering for ConfigureNotify events on that window?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜