"Roderick Colenbrander" thunderbird2k@gmx.net writes:
Is it enough to check if the dimensions changed or should I also care about the position? (I don't think it changes)
Position can definitely change too.
What's the problem in X11DRV_SetWindowPos? I have checked valid_rects there but the contents of the two rects stored in it look ok to me. They seem to contain the current and previous location of the whole window (the location of where the window starts ignoring the border added by the WM). What should be done in this part of the code?
Since the client window is moved with NorthwestGravity, the valid rects have to be computed relative to the client, not the whole window. The client can move relative to the whole window.