1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:37:43 +00:00

Oops, finish WindowServer rename.

This commit is contained in:
Andreas Kling 2019-01-15 21:46:15 +01:00
parent 52c004eb53
commit 46181cf023
2 changed files with 1 additions and 1 deletions

22
Kernel/WindowServer.cpp Normal file
View file

@ -0,0 +1,22 @@
#include "Process.h"
#include <Widgets/Font.h>
#include <Widgets/FrameBuffer.h>
#include <Widgets/WindowManager.h>
#include <Widgets/EventLoop.h>
#include <Widgets/Window.h>
void WindowServer_main()
{
auto info = current->get_display_info();
dbgprintf("Screen is %ux%ux%ubpp\n", info.width, info.height, info.bpp);
FrameBuffer framebuffer((dword*)info.framebuffer, info.width, info.height);
WindowManager::the();
dbgprintf("Entering WindowServer main loop.\n");
EventLoop::main().exec();
ASSERT_NOT_REACHED();
}