Thomas, I just found this snippet in HandlePropertyNotify:
--
case XA_WM_NORMAL_HINTS:
/* just mark wm normal hints as changed and look them up when
* the next ConfigureRequest w/ x, y, width or height set
* arrives. */
SET_HAS_NEW_WM_NORMAL_HINTS(fw, 1);
/* TA: 20120317: Always set the size hints here, regardless
* of them possibly being modified by a ConfigureNotify
* request, due to XSizeHints disallowing resize -- FVWM would
* always use old values if the application decided to toggle
* such things, and FVWM would then never resize the window.
*
* Note that SET_HAS_NEW_WM_NORMAL_HINTS being set here to
* true is still valid.
*/
GetWindowSizeHints(fw);
break;
--
What was the change good for? I vaguely remember that after a long
discussion with other wm authors (Havoc?) the conclusion was that,
given all the available documentation, that a window manager should
react to new size hints only when the next ConfigureRequest
arrives. Otherwise we could run into nasty race conditions.
What is the situation this patch solves?
Ciao
Dominik ^_^ ^_^
--
Dominik Vogt