bool set_hint = !HOOK_INVOKE ((this, HOOK_RESIZE_ALL_WINDOWS, DT_INT, newwidth, DT_INT, newheight, DT_END));
+ // to avoid races between us and the wm, we clear the incremental size hints around the xresizewindow
if (set_hint)
{
szHint.flags &= ~(PBaseSize | PResizeInc);