X window-resize done event(s)

gary knott February 1, 2010
Pinterest Stumbleupon Whatsapp

What event sequence can I test for to know that a window resizing action
is finished (i.e. mouse-up in border)?

I am writing plain X code in a C program. I cannot get a mouse-up, because the border belongs to the window manager, not to me.

You can see a more detailed rant about this here.

I do not want to respond to partial resizes – I just want to know when the action is finished. Windows does have such a ‘message’.

  1. Johnathan TheTool Lane
    April 22, 2010 at 2:47 pm

    Okay, so you could use a disassembler to physically view the change. Also, I know there are tools like such that come with the old VB/C Suite from Microsoft on VB 6.0, but I haven't messed with those in a long time. I'm hoping that maybe I sparked an idea.

    • Aibek
      April 22, 2010 at 5:54 pm

      Hey John

      Thanks for the input, finally we got an answer to this one.