I want to resize some window with
XResizeWindow(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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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?