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.
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Patch to handle ConfigureNotify events
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 ?
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.
Logged In: YES
user_id=51548
Doesn't that depend on what you allow through XSelectInput ?
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.