summaryrefslogtreecommitdiff
path: root/Kernel/WindowServer.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-16 16:03:50 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-16 16:03:50 +0100
commitf7ca6d254d452e3524aaeaa1334ac041be3a1279 (patch)
tree165f54aa32eafbfd79003eb686770370f585c14d /Kernel/WindowServer.cpp
parente655aebd70bb7d248c2f7be4a12d695ceec707a5 (diff)
downloadserenity-f7ca6d254d452e3524aaeaa1334ac041be3a1279.zip
Tear out or duplicate what's unique for WindowServer from Widgets.
This turned into a huge refactoring that somehow also includes making locks recursive/reentrant.
Diffstat (limited to 'Kernel/WindowServer.cpp')
-rw-r--r--Kernel/WindowServer.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/Kernel/WindowServer.cpp b/Kernel/WindowServer.cpp
deleted file mode 100644
index 674562ad7f..0000000000
--- a/Kernel/WindowServer.cpp
+++ /dev/null
@@ -1,22 +0,0 @@
-#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();
-}