Re: Programatically minimising window gets incorrect results.

2006-05-16 Thread Troy Rollo
This modified hack fixes both cases, but presumably is going to break unmanaged windows. -- Troy Rollo - [EMAIL PROTECTED] diff --git a/dlls/x11drv/window.c b/dlls/x11drv/window.c diff --git a/dlls/x11drv/winpos.c b/dlls/x11drv/winpos.c index 5fdde83..f164b00 100644 --- a/dlls/x11drv/winpos.c

Re: Programatically minimising window gets incorrect results.

2006-05-16 Thread Troy Rollo
On Tuesday 16 May 2006 19:15, Mike McCormack wrote: > The problem is that we should ask the Window manager to minimize us. This is what the XIconifyWindow call (made in X11DRV_set_iconic_state in dlls/x11drv/window.c, called by WINPOS_MinMaximise, called by the SW_MINIMIZE and SW_SHOWMINIMIZED

Re: Programatically minimising window gets incorrect results.

2006-05-16 Thread Mike McCormack
Troy Rollo wrote: The attached C sample demonstrates two problems with using ShowWindow(hwnd,SW_SHOWMINIMIZED) to minimise a top level window. The tests were done in KDE, but the second problem has been confirmed in Gnome and I suspect the first also occurs there. The problem is that we shou

Programatically minimising window gets incorrect results.

2006-05-15 Thread Troy Rollo
The attached C sample demonstrates two problems with using ShowWindow(hwnd,SW_SHOWMINIMIZED) to minimise a top level window. The tests were done in KDE, but the second problem has been confirmed in Gnome and I suspect the first also occurs there. 1. If you start this program without arguments a