XResizeWindow

Kristian Benoit kbenoit at matrox.com
Fri Dec 3 12:54:45 PST 2004


Kristian Benoit wrote:

> Kristian Benoit wrote:
>
>> I want to know when a resize comme from XResizeWindow or from the 
>> user resizing the window by hand, but cant find any way to do it. 
>> Anyone know how to do that ?
>>
> I found a way !!! :)
>
> XSendEvent({client message "Start Resizing"});
> XResizeWindow(...);
> XSendEvent({client message "Stop Resizing"});
> XFlush();
>
> Then I know If the resize comme from me !!! :)
>
That does not seem to work as I always get the ConfigureNotify before 
the Start Resizing client message. Even if I sync just before XResizeWindow.
Any idea on how to make sure the client message get queued before the 
ConfigureNotify ?

-- 
Kristian Benoit (Matrox Imaging)
kbenoit at matrox.com
(514) 822-6000 ext. 7225




More information about the xorg mailing list