Classes: XFldObject, XFldDesktop
&xwp; can also add a "Restart Desktop" item to the context menu of the Desktop.

After selecting "Restart Desktop", a dialog box similar to the one of the Extended Shutdown will appear. The difference is that after all windows have been closed, not the whole computer is restarted, but only the Workplace Shell Process (PMSHELL.EXE).

To understand the difference it might be helpful to know that the &os2; user interface is structured into three "layers", so-to-say, which sit on top of each other:

   ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
   ³  Workplace Shell (WPS)      ³
   ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
   ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
   ³  Presentation Manager (PM)  ³
   ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
   ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
   ³  OS/2 Kernel                ³
   ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ

The OS/2 Kernel provides the basic functionality of the operating system, such as device access and multitasking. Without it, nothing would work on your system.

The Presentation Manager (PM) is responsible for the graphics on your system, such as windows, icons, menus, pictures, and a few more non-graphical things, such as INI files. &os2; can run text-mode applications (e.g. the &os2; command line, CMD.EXE) without PM, but all other applications require that PM be running. A typical PM application is Netscape, for example.

The Workplace Shell (WPS) is just another, however very complex PM application. It is responsible for displaying folders, starting programs when you double-click on their icons, associating files to programs, in short: everything you see after your &os2; has finished booting. This is the context in which &xwp; is running.

The "Restart Desktop" menu item now terminates the topmost layer of the aforementioned three only, the Workplace Shell. This takes a lot less time than rebooting your whole computer, because PM and the Kernel need not be reloaded and initialized.

Restarting the WPS can be helpful when your system has become really slow (for some reason, at least judging from my personal experience, the WPS eats up more and more memory when you work with files a lot) or if you have installed software which changes WPS classes.

Important notes:

You can turn this feature off on a new settings page of the Desktop's Settings notebook.