wine
23 years agoSmall 'typos in comments' fixes.
Francois Gouget [Wed, 28 Feb 2001 05:31:02 +0000 (05:31 +0000)] 
Small 'typos in comments' fixes.

23 years agoUse the standard CreateThread routine to create 16-bit tasks instead
Alexandre Julliard [Wed, 28 Feb 2001 05:29:50 +0000 (05:29 +0000)] 
Use the standard CreateThread routine to create 16-bit tasks instead
of duplicating the code.

23 years agoRemoved dependency on comctl32.
Alexandre Julliard [Wed, 28 Feb 2001 05:26:08 +0000 (05:26 +0000)] 
Removed dependency on comctl32.

23 years agoWINE_UNICODE_TEXT was incorrect.
François Gouget [Wed, 28 Feb 2001 05:18:54 +0000 (05:18 +0000)] 
WINE_UNICODE_TEXT was incorrect.
Dropped support for WINE_UNICODE_TEXT('c') in C.

23 years agoImplemented WsControl command with id 0x101.
Michael Stefaniuc [Wed, 28 Feb 2001 05:17:44 +0000 (05:17 +0000)] 
Implemented WsControl command with id 0x101.

23 years agoAdded LOCALE_IDEFAULTMACCODEPAGE definition in most nls files.
Przemyslaw Bruski [Wed, 28 Feb 2001 05:17:01 +0000 (05:17 +0000)] 
Added LOCALE_IDEFAULTMACCODEPAGE definition in most nls files.

23 years agoNew set of macros for server calls; makes requests without variable
Alexandre Julliard [Tue, 27 Feb 2001 02:09:16 +0000 (02:09 +0000)] 
New set of macros for server calls; makes requests without variable
part somewhat faster.

23 years agoMoved PTHREAD_init_done out of the #ifdef.
Alexandre Julliard [Tue, 27 Feb 2001 01:54:20 +0000 (01:54 +0000)] 
Moved PTHREAD_init_done out of the #ifdef.

23 years agoAdded a few missing stubs to KERNEL32 and USER32.
Eric Pouech [Mon, 26 Feb 2001 22:33:29 +0000 (22:33 +0000)] 
Added a few missing stubs to KERNEL32 and USER32.

23 years agoHandle filenames with spaces.
Ove Kaaven [Mon, 26 Feb 2001 22:32:53 +0000 (22:32 +0000)] 
Handle filenames with spaces.

23 years agoMap 32 bits resource for 16 bits print dialog.
Gerard Patel [Mon, 26 Feb 2001 22:32:35 +0000 (22:32 +0000)] 
Map 32 bits resource for 16 bits print dialog.

23 years agoUse GetSysColorBrush(COLOR_WINDOW) when there is no brush for drawing
Dmitry Timoshkov [Mon, 26 Feb 2001 22:31:55 +0000 (22:31 +0000)] 
Use GetSysColorBrush(COLOR_WINDOW) when there is no brush for drawing
background in listbox.

23 years agoAdded (partial) support for FO_COPY and FO_DELETE.
David Grant [Mon, 26 Feb 2001 22:31:38 +0000 (22:31 +0000)] 
Added (partial) support for FO_COPY and FO_DELETE.

23 years agoAdd version information (16 and 32 bit) to core built-in dlls:
Dmitry Timoshkov [Fri, 23 Feb 2001 20:37:13 +0000 (20:37 +0000)] 
Add version information (16 and 32 bit) to core built-in dlls:
krnl386.exe/kernel32.dll, user.exe/user32.dll, gdi.exe/gdi32.dll.
Provide a way for reading version information using standard API:
GetFileVersionInfoSize -> GetFileVersionInfo -> VerQueryValue.

23 years agoOnly create the system heap when we actually need it.
Alexandre Julliard [Fri, 23 Feb 2001 01:37:05 +0000 (01:37 +0000)] 
Only create the system heap when we actually need it.

23 years agoAllocations do not need to be on the system heap.
Alexandre Julliard [Fri, 23 Feb 2001 01:35:36 +0000 (01:35 +0000)] 
Allocations do not need to be on the system heap.

23 years agoHoriz/Vert determination must be dynamic, as the style may not be set
Susan Farley [Fri, 23 Feb 2001 01:33:01 +0000 (01:33 +0000)] 
Horiz/Vert determination must be dynamic, as the style may not be set
upon creation; improved positioning and scrolling.

23 years agoAvoid alignment problems with NMPGSCROLL struct.
Susan Farley [Fri, 23 Feb 2001 01:32:46 +0000 (01:32 +0000)] 
Avoid alignment problems with NMPGSCROLL struct.

23 years agoReplace fixme for SPI_GETWHEELSCROLLLINES with the default value of 3.
Chris Morgan [Fri, 23 Feb 2001 01:32:22 +0000 (01:32 +0000)] 
Replace fixme for SPI_GETWHEELSCROLLLINES with the default value of 3.

23 years agoPrepare background while drawing radio buttons and checkboxes.
Dmitry Timoshkov [Fri, 23 Feb 2001 01:32:05 +0000 (01:32 +0000)] 
Prepare background while drawing radio buttons and checkboxes.

23 years ago- We need to make sure we pay attention to if our call to
Aric Stewart [Fri, 23 Feb 2001 01:31:47 +0000 (01:31 +0000)] 
- We need to make sure we pay attention to if our call to
  SetClipboardData from the X11DRV version of the function works. If not
  we need to delete the global block we allocated. This is a sever memory
  leak with large clipboard items.
- If an X selection it too large then X may give it to us in chunks,
  we were not handling this well.

23 years agoUpdated all fields with Ukrainian values.
Valery Kartel [Fri, 23 Feb 2001 01:30:34 +0000 (01:30 +0000)] 
Updated all fields with Ukrainian values.

23 years agoDo not allocate any USER data on the system heap.
Alexandre Julliard [Fri, 23 Feb 2001 01:13:42 +0000 (01:13 +0000)] 
Do not allocate any USER data on the system heap.

23 years agoA first stab at implementing the RunDll features.
Eric Pouech [Fri, 23 Feb 2001 01:12:26 +0000 (01:12 +0000)] 
A first stab at implementing the RunDll features.

23 years agoBuildCommDCB16 had a rather broken baud rate handling.
Andreas Mohr [Fri, 23 Feb 2001 01:10:50 +0000 (01:10 +0000)] 
BuildCommDCB16 had a rather broken baud rate handling.

23 years agoMade the winelauncher support winelib app invocations. Fixed a few
Ove Kaaven [Fri, 23 Feb 2001 01:10:11 +0000 (01:10 +0000)] 
Made the winelauncher support winelib app invocations. Fixed a few
file path issues.

23 years agoAdded separate server pipe to wait on blocking server calls.
Alexandre Julliard [Wed, 21 Feb 2001 04:21:50 +0000 (04:21 +0000)] 
Added separate server pipe to wait on blocking server calls.
Send the complete request/reply through the request fifo instead of
just a dummy byte.
Convert error status to text in server reply tracing.

23 years agoConfirm file deletes. Make delete confirmation messages more
Chris Morgan [Wed, 21 Feb 2001 04:01:20 +0000 (04:01 +0000)] 
Confirm file deletes.  Make delete confirmation messages more
consistent. Improve trace messages on delete failure.

23 years agoAdd shell support for deleting files using the Delete key.
Chris Morgan [Wed, 21 Feb 2001 04:01:03 +0000 (04:01 +0000)] 
Add shell support for deleting files using the Delete key.

23 years agoImplement EnumPrinterDataEx{A|W}.
Ian Pilcher [Wed, 21 Feb 2001 04:00:40 +0000 (04:00 +0000)] 
Implement EnumPrinterDataEx{A|W}.

23 years agoRemoved some unnecessary ordinals.
Alexandre Julliard [Wed, 21 Feb 2001 02:20:45 +0000 (02:20 +0000)] 
Removed some unnecessary ordinals.

23 years ago__getmainargs last argument is a pointer to new_mode.
Alexandre Julliard [Wed, 21 Feb 2001 02:20:08 +0000 (02:20 +0000)] 
__getmainargs last argument is a pointer to new_mode.

23 years agoSmall server protocol cleanups.
Alexandre Julliard [Tue, 20 Feb 2001 23:45:07 +0000 (23:45 +0000)] 
Small server protocol cleanups.

23 years agoStub for OleSavedClientDoc.
Gerard Patel [Tue, 20 Feb 2001 23:43:43 +0000 (23:43 +0000)] 
Stub for OleSavedClientDoc.

23 years agoInsert the item before calling a SetFirstVisible which can generate a
Aric Stewart [Tue, 20 Feb 2001 23:43:21 +0000 (23:43 +0000)] 
Insert the item before calling a SetFirstVisible which can generate a
WM_PAINT message.

23 years agoClear %ebp before entering the new thread.
Alexandre Julliard [Tue, 20 Feb 2001 01:59:27 +0000 (01:59 +0000)] 
Clear %ebp before entering the new thread.

23 years agoGot rid of the WSINFO structure. Fixed a couple of bugs.
Alexandre Julliard [Tue, 20 Feb 2001 01:57:13 +0000 (01:57 +0000)] 
Got rid of the WSINFO structure. Fixed a couple of bugs.

23 years agoFixed __GetMainArgs.
Alexandre Julliard [Tue, 20 Feb 2001 01:56:46 +0000 (01:56 +0000)] 
Fixed __GetMainArgs.

23 years agoAdd information about prebuilt documentation packages in
Joerg Mayer [Tue, 20 Feb 2001 01:54:50 +0000 (01:54 +0000)] 
Add information about prebuilt documentation packages in
other-than-sgml form.

23 years agoWe need to give room for the null termination when translating the
Aric Stewart [Tue, 20 Feb 2001 01:54:08 +0000 (01:54 +0000)] 
We need to give room for the null termination when translating the
clipboard text.

23 years ago- Implement CB_SETCURSEL, CBEM_DELETEITEM, CBEM_GETITEM,
Guy L. Albertelli [Tue, 20 Feb 2001 01:53:43 +0000 (01:53 +0000)] 
- Implement CB_SETCURSEL, CBEM_DELETEITEM, CBEM_GETITEM,
  CBEM_{GET|SET}UNICODEFORMAT, CB_FINDSTRINGEXACT, WM_COMMAND,
  WM_DELETEITEM.
- Implement extended style CBES_EX_NOEDITIMAGE, and warn others are
  not yet implemented.
- Restructure DrawItem code to do things more rationally.

23 years ago- Restructure PaintText code to remove FillRect from owner-drawn path.
Guy L. Albertelli [Tue, 20 Feb 2001 01:53:12 +0000 (01:53 +0000)] 
- Restructure PaintText code to remove FillRect from owner-drawn path.
- Change SetFocus to indicate focus set only after Notify is sent to owner.
- Get more info in a trace.

23 years agoCorrect error message in case DOSFS_OpenDevice() fails on a COMx
Rein Klazes [Tue, 20 Feb 2001 01:52:41 +0000 (01:52 +0000)] 
Correct error message in case DOSFS_OpenDevice() fails on a COMx
device.

23 years agoRemoved a few Callout functions by doing a GetProcAddress at the time
Alexandre Julliard [Tue, 20 Feb 2001 00:55:17 +0000 (00:55 +0000)] 
Removed a few Callout functions by doing a GetProcAddress at the time
we actually need the function.

23 years agoFixed MEM_SYSTEM handling to avoid unmapping areas that we didn't mmap.
Alexandre Julliard [Tue, 20 Feb 2001 00:52:41 +0000 (00:52 +0000)] 
Fixed MEM_SYSTEM handling to avoid unmapping areas that we didn't mmap.

23 years agoFix prototypes of MSVCRT___getmainargs and MSVCRT___wgetmainargs.
Dmitry Timoshkov [Tue, 20 Feb 2001 00:51:49 +0000 (00:51 +0000)] 
Fix prototypes of MSVCRT___getmainargs and MSVCRT___wgetmainargs.
Protect MSVCRT__acmdln global variable from corruption.

23 years agoMoved typedef of CRITICAL_SECTION out of #pragma pack(1) block.
Josh DuBois [Tue, 20 Feb 2001 00:49:12 +0000 (00:49 +0000)] 
Moved typedef of CRITICAL_SECTION out of #pragma pack(1) block.

23 years agoFixed behaviour of dropdown buttons. When a dropdown button is
Eric Kohl [Tue, 20 Feb 2001 00:48:37 +0000 (00:48 +0000)] 
Fixed behaviour of dropdown buttons. When a dropdown button is
clicked, it does not change into pressed state.

23 years agoBetter implementation of EMF record EMR_EXTSELECTCLIPRGN.
Dmitry Timoshkov [Tue, 20 Feb 2001 00:48:13 +0000 (00:48 +0000)] 
Better implementation of EMF record EMR_EXTSELECTCLIPRGN.

23 years agoTranslated new common dialog resources into German.
Marcus Meissner [Tue, 20 Feb 2001 00:47:34 +0000 (00:47 +0000)] 
Translated new common dialog resources into German.
Resized file dialog a bit to make toolbar completely visible again.

23 years agoFixed German translation, changed dialog font to Helvetica.
Marcus Meissner [Tue, 20 Feb 2001 00:47:09 +0000 (00:47 +0000)] 
Fixed German translation, changed dialog font to Helvetica.

23 years agoRelease 20010216. wine-20010216
Alexandre Julliard [Fri, 16 Feb 2001 22:44:01 +0000 (22:44 +0000)] 
Release 20010216.

23 years agoAssert on output buffer overflow.
Chris Morgan [Fri, 16 Feb 2001 19:52:50 +0000 (19:52 +0000)] 
Assert on output buffer overflow.

23 years agoUpdate selection after sorting (in LISTVIEW_SortItems) by making sure
James Hatheway [Fri, 16 Feb 2001 19:39:14 +0000 (19:39 +0000)] 
Update selection after sorting (in LISTVIEW_SortItems) by making sure
selection list matches states of individual items.

23 years agoAdded DIB/pixmap synchronization for {Get,Set}Pixel.
François Gouget [Fri, 16 Feb 2001 19:38:50 +0000 (19:38 +0000)] 
Added DIB/pixmap synchronization for {Get,Set}Pixel.

23 years agoTB_SETBUTTONSIZE messages must be taken into account even after
François Gouget [Fri, 16 Feb 2001 19:38:32 +0000 (19:38 +0000)] 
TB_SETBUTTONSIZE messages must be taken into account even after
buttons have been added.

23 years agoPass the stdin/stdout handles on startup to use as console (based on a
Alexandre Julliard [Fri, 16 Feb 2001 19:08:19 +0000 (19:08 +0000)] 
Pass the stdin/stdout handles on startup to use as console (based on a
patch by Eric Pouech).

23 years agoCorrect the codepage for the Turkish keyboard.
Aric Stewart [Fri, 16 Feb 2001 19:06:50 +0000 (19:06 +0000)] 
Correct the codepage for the Turkish keyboard.

23 years agoSetting the HotItem to -1 can be disastrous at times if it equals
Aric Stewart [Fri, 16 Feb 2001 19:06:34 +0000 (19:06 +0000)] 
Setting the HotItem to -1 can be disastrous at times if it equals
oldhit.

23 years ago- Create entries for ordinal only exports, use ordinals if non-standard.
Jon Griffiths [Fri, 16 Feb 2001 19:06:05 +0000 (19:06 +0000)] 
- Create entries for ordinal only exports, use ordinals if non-standard.
- Improve C++ demangler, recognise data types, fix some bugs.

23 years agoGives back the ERROR_FILE_NOT_FOUND to GetFileAttributes.
Gerard Patel [Fri, 16 Feb 2001 19:05:42 +0000 (19:05 +0000)] 
Gives back the ERROR_FILE_NOT_FOUND to GetFileAttributes.

23 years agoAdded support for backslash escaping of special characters.
Alexandre Julliard [Thu, 15 Feb 2001 21:27:06 +0000 (21:27 +0000)] 
Added support for backslash escaping of special characters.

23 years agoIf VerQueryValueA is called with a PE resource, translate the call to
Lawson Whitney [Thu, 15 Feb 2001 21:26:29 +0000 (21:26 +0000)] 
If VerQueryValueA is called with a PE resource, translate the call to
VerQueryValueW.

23 years agoContinued the implementation of Set Hot Item.
Aric Stewart [Thu, 15 Feb 2001 21:25:03 +0000 (21:25 +0000)] 
Continued the implementation of Set Hot Item.

23 years agoSend LVN_DELETEITEM notification first, to avoid crashes if the app
James Hatheway [Thu, 15 Feb 2001 21:24:43 +0000 (21:24 +0000)] 
Send LVN_DELETEITEM notification first, to avoid crashes if the app
requests LVIF_PARAM with LISTVIEW_GetItem() during its LVN_DELETEITEM
message handler.

23 years agoAdd includes for <time.h>.
Chris Morgan [Thu, 15 Feb 2001 21:24:07 +0000 (21:24 +0000)] 
Add includes for <time.h>.

23 years ago(PSDRV_AFMGetCharMetrics): Use unsigned chars (since isspace is used).
Morten Welinder [Thu, 15 Feb 2001 21:23:50 +0000 (21:23 +0000)] 
(PSDRV_AFMGetCharMetrics): Use unsigned chars (since isspace is used).
(PSDRV_AFMParse): Don't crash on missing font name.  Use unsigned
chars.  Fix peculiar inconsistent indentation.  Don't leak a FILE.
Catch problematic files with no line feed in them.  Don't mix
characters and integers.  Don't overrun the buffer.

23 years agoAdded a turkish keyboard layout.
Aric Stewart [Thu, 15 Feb 2001 21:23:23 +0000 (21:23 +0000)] 
Added a turkish keyboard layout.

23 years agoRemoved ordinal from functions that don't need a specific value.
Alexandre Julliard [Wed, 14 Feb 2001 23:12:36 +0000 (23:12 +0000)] 
Removed ordinal from functions that don't need a specific value.

23 years agoDocumentation ordinal fixes.
Patrik Stridvall [Wed, 14 Feb 2001 23:11:17 +0000 (23:11 +0000)] 
Documentation ordinal fixes.

23 years agoChange FONTOBJ to use LOGFONTW rather than LOGFONT16.
Huw D M Davies [Wed, 14 Feb 2001 22:56:38 +0000 (22:56 +0000)] 
Change FONTOBJ to use LOGFONTW rather than LOGFONT16.
Updated parameters of DEVICEFONTENUMPROC.

23 years agoFixed WM_GETTEXTLENGTH handling.
Alexandre Julliard [Wed, 14 Feb 2001 21:50:09 +0000 (21:50 +0000)] 
Fixed WM_GETTEXTLENGTH handling.

23 years agoStarted the real implementation of mciavi.
Eric Pouech [Wed, 14 Feb 2001 21:49:22 +0000 (21:49 +0000)] 
Started the real implementation of mciavi.

23 years agoAlways return success instead of overflow if caller didn't specify a
Alexandre Julliard [Wed, 14 Feb 2001 21:45:52 +0000 (21:45 +0000)] 
Always return success instead of overflow if caller didn't specify a
buffer.

23 years agoOutput the right number of backslashes in values.
Morten Welinder [Wed, 14 Feb 2001 21:45:12 +0000 (21:45 +0000)] 
Output the right number of backslashes in values.

23 years agoBe smarter about the ellipsis in SPY_GetWndName.
François Gouget [Wed, 14 Feb 2001 21:43:20 +0000 (21:43 +0000)] 
Be smarter about the ellipsis in SPY_GetWndName.

23 years agoMisc typos in comments.
François Gouget [Wed, 14 Feb 2001 21:43:06 +0000 (21:43 +0000)] 
Misc typos in comments.

23 years agoListView_GetItemRect already sets rc.left.
François Gouget [Wed, 14 Feb 2001 21:42:24 +0000 (21:42 +0000)] 
ListView_GetItemRect already sets rc.left.

23 years agodebugstr_xxx already does the quoting.
François Gouget [Wed, 14 Feb 2001 21:42:10 +0000 (21:42 +0000)] 
debugstr_xxx already does the quoting.

23 years agoChange the callback declarations to a safer format.
François Gouget [Wed, 14 Feb 2001 21:41:35 +0000 (21:41 +0000)] 
Change the callback declarations to a safer format.

23 years agoTune the doco to the code for relay/snoop specific.
Lawson Whitney [Wed, 14 Feb 2001 21:41:11 +0000 (21:41 +0000)] 
Tune the doco to the code for relay/snoop specific.

23 years agoCosmetics.
Andreas Mohr [Wed, 14 Feb 2001 00:29:16 +0000 (00:29 +0000)] 
Cosmetics.

23 years agoGive both --winver nt40 and win31 for VxD warning, as some programs
Andreas Mohr [Wed, 14 Feb 2001 00:28:48 +0000 (00:28 +0000)] 
Give both --winver nt40 and win31 for VxD warning, as some programs
work with win31.

23 years ago- correct DDRAW_Convert_DDDEVICEIDENTIFIER_2_To_1 confusion
Andreas Mohr [Wed, 14 Feb 2001 00:28:02 +0000 (00:28 +0000)] 
- correct DDRAW_Convert_DDDEVICEIDENTIFIER_2_To_1 confusion
- fix GetAvailableVidMem ddraw iface copy&paste bug (doh !)

23 years agoGuts of a simple XVidMode-supporting DirectDraw HAL in x11drv.
Ove Kaaven [Wed, 14 Feb 2001 00:27:34 +0000 (00:27 +0000)] 
Guts of a simple XVidMode-supporting DirectDraw HAL in x11drv.

23 years agoSetLastError() for GetFileAttributesA.
Jon Griffiths [Wed, 14 Feb 2001 00:26:46 +0000 (00:26 +0000)] 
SetLastError() for GetFileAttributesA.

23 years agoException for allowing the parent to set the cursor for a child wnd is
Susan Farley [Wed, 14 Feb 2001 00:25:53 +0000 (00:25 +0000)] 
Exception for allowing the parent to set the cursor for a child wnd is
when the cursor is on the border of a resizable wnd.

23 years agoConvert menu item to seperator only when string is NULL.
Dmitry Timoshkov [Wed, 14 Feb 2001 00:23:45 +0000 (00:23 +0000)] 
Convert menu item to seperator only when string is NULL.

23 years agoSome important stuff from the DirectDraw DDK headers.
Ove Kaaven [Tue, 13 Feb 2001 20:24:16 +0000 (20:24 +0000)] 
Some important stuff from the DirectDraw DDK headers.

23 years agoMore verbose error messages when application load fails.
Josh DuBois [Tue, 13 Feb 2001 20:23:45 +0000 (20:23 +0000)] 
More verbose error messages when application load fails.

23 years agoUse the Pentium's rdtsc instruction (if available) to implement
James Abbatiello [Tue, 13 Feb 2001 20:20:27 +0000 (20:20 +0000)] 
Use the Pentium's rdtsc instruction (if available) to implement
QueryPerformanceCounter.

23 years ago- Minor API files fixes
Patrik Stridvall [Tue, 13 Feb 2001 20:19:39 +0000 (20:19 +0000)] 
- Minor API files fixes
- Minor bug fixes

23 years agoFixed some issues found by winapi_check.
Patrik Stridvall [Tue, 13 Feb 2001 20:19:15 +0000 (20:19 +0000)] 
Fixed some issues found by winapi_check.

23 years ago- only parse AFM-files, which start with "BeginFontMetrics"
Peter H. Ganten [Tue, 13 Feb 2001 20:18:47 +0000 (20:18 +0000)] 
- only parse AFM-files, which start with "BeginFontMetrics"
- use fgetc instead of fgets to cope with AFM-Files with
  Macintosh-Style line-breaks ('\r') in the parser.

23 years agoImplement a bunch of shlwapi functions, add some new stubs.
Jon Griffiths [Tue, 13 Feb 2001 20:17:59 +0000 (20:17 +0000)] 
Implement a bunch of shlwapi functions, add some new stubs.

23 years agoAdded RGB 565 => RGB 0888 conversion.
Lionel Ulmer [Tue, 13 Feb 2001 20:16:46 +0000 (20:16 +0000)] 
Added RGB 565 => RGB 0888 conversion.

23 years agoImplement keyboard shortcut F2 to rename files and directories in the
Chris Morgan [Tue, 13 Feb 2001 02:20:35 +0000 (02:20 +0000)] 
Implement keyboard shortcut F2 to rename files and directories in the
shellview (and in common dialogs).

23 years agoMore portable .align directive.
Josh DuBois [Tue, 13 Feb 2001 02:06:38 +0000 (02:06 +0000)] 
More portable .align directive.
Ignore -delay directive on ppc only.
Added code to call the dll constructors.

23 years agoDefined architecture-specific macros for ppc.
Josh DuBois [Tue, 13 Feb 2001 01:50:38 +0000 (01:50 +0000)] 
Defined architecture-specific macros for ppc.

23 years agoDon't crash on close from window manager.
Marcus Meissner [Tue, 13 Feb 2001 01:49:06 +0000 (01:49 +0000)] 
Don't crash on close from window manager.