Patch to restore iconified window

Alexandre Julliard julliard at
Tue Aug 27 18:19:28 CDT 2002

Duane Clark <dclark at> writes:

> Unlike most other apps, when iconified fpga_editor triggers
> X11DRV_ShowWindow() with a cmd==SW_HIDE, to hide the window. When
> X11DRV_MapNotify() was subsequently called, it did nothing because
> WS_VISIBLE was not set. This patch fixes that.
> I've been using this patch with everything I run for about 5 months now.
> Log message:
> 	Fix restoring of windows that were iconified with SW_HIDE.

Well, SW_HIDE is supposed to hide the window, not iconify it, so we
are not supposed to get a MapNotify at this point. What is probably
missing is proper handling for hiding an iconified window.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list