Pierre d'Herbemont <[EMAIL PROTECTED]> writes: > -void X11DRV_window_to_X_rect( struct x11drv_win_data *data, RECT *rect ) > +void X11DRV_window_to_X_rect( HWND hwnd, RECT *rect ) > { > RECT rc; > > - if (!data->managed) return; > + if (!is_window_managed(hwnd)) return; > if (IsRectEmpty( rect )) return;
This won't work, is_window_managed() will re-evaluate the managed flag so it will give wrong results if the window style has changed. -- Alexandre Julliard [EMAIL PROTECTED]