#include "Process.h" #include #include #include #include #include // NOTE: This actually runs as a kernel process. // I'd like to change this eventually. void WindowServer_main() { auto info = current->get_display_info(); dbgprintf("Screen is %ux%ux%ubpp\n", info.width, info.height, info.bpp); WSScreen screen((dword*)info.framebuffer, info.width, info.height); WSWindowManager::the(); dbgprintf("Entering WindowServer main loop.\n"); WSMessageLoop::the().exec(); ASSERT_NOT_REACHED(); }