Menu

#3 input-xwin resize problem fix

version 0.9.x
open
nobody
libgii (3)
5
2005-03-16
2005-03-16
No

Newer(?) X servers send a ConfigureNotify on resize,
not a ResizeRequest. This results in resizes being
missed. This patch handles the ConfigureNotify events
and calls the resizefunc approciatly.

Discussion

  • Wladimir van der Laan

    Patch to handle ConfigureNotify events

     
  • chxxx

    chxxx - 2005-03-16

    Logged In: YES
    user_id=51548

    hmm... We also found ConfigureNotify on AIX 4.2 with X11R5.

    What is the difference between ResizeRequest and
    ConfigureNotify ?

     
  • Wladimir van der Laan

    Logged In: YES
    user_id=49336

    ConfigureNotify is sent when a window is resized or moved.
    I'm not sure when ResizeRequest is sent, on this system (x11
    suse 9.2) it is never generated at all.

     
  • chxxx

    chxxx - 2005-03-17

    Logged In: YES
    user_id=51548

    Doesn't that depend on what you allow through XSelectInput ?

     
  • chxxx

    chxxx - 2005-09-28

    Logged In: YES
    user_id=51548

    According to http://tronche.com/gui/x/icccm/ chapter 4.1.5
    ConfigureNotify
    comes from the window manager, not from the X server.
    Is it possible that your window manager catches the
    ResizeRequest events
    and "forwards" a ConfigureNotify then?

    Regarding chapter 4.1.5, ConfigureNotify is not only sent
    when the window is moved or resized, it is also sent when
    z-order and border width change.

    So how should input-x distinguish ?
    Assuming a resize event is plain wrong.

     

Log in to post a comment.