Alex Henrie (@alexhenrie) commented about programs/explorer/desktop.c:
found = TRUE; RegCloseKey( hkey ); }
- /* Default off, except for the magic desktop name "shell" */
- if (!found) result = (lstrcmpiW( name, L"shell" ) == 0);
- /* Default on for virtual desktop, off otherwise, except for the magic desktop name "shell" */
- if (!found) result = using_root ? (lstrcmpiW( name, L"shell" ) == 0) : TRUE;
I don't quite understand what this means. If the virtual desktop is disabled, how can the desktop name be "shell" instead of "root"? Couldn't this be simplified to just `result = !using_root`? Moreover, is it a good idea to start turning on the shell by default, since clicking the Maximize button on a window will obscure the taskbar?
Thanks for bearing with me. There may well be good answers to all of those questions and I am just ignorant.