tags:

views:

19

answers:

1

I want to resize some window with XResizeWindow(display, xid, width, height), which was created by another application and wait until it is really resized. XSync(display, 0) does not work. Any suggestions?

+1  A: 

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?

alanc