Computers have different levels of operation. Way down at the bottom is the kernel, then the OS itself, then drivers, then various elements of interface control. If just all your screen widgets freeze up, it doesn’t mean everything else is frozen, and your mouse may still work because it’s run as a separate process.
Latest Answers