1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 12:47:45 +00:00

Network stack is now configurable, and resolution is also configurable, but loading cursors causes a page-fault?

This commit is contained in:
Christopher Dumas 2019-05-24 21:10:23 -07:00 committed by Andreas Kling
parent 9d2b08e06e
commit d4a16d6031
7 changed files with 160 additions and 34 deletions

View file

@ -16,6 +16,7 @@
#include <WindowServer/WSEvent.h>
#include <WindowServer/WSCPUMonitor.h>
#include <LibCore/CElapsedTimer.h>
#include <LibCore/CConfigFile.h>
class WSAPIClientRequest;
class WSScreen;
@ -40,6 +41,9 @@ public:
WSWindowManager();
virtual ~WSWindowManager() override;
RetainPtr<CConfigFile> wm_config() const { return m_wm_config; }
void set_wm_config(Retained<CConfigFile> conf) { m_wm_config = conf; }
void add_window(WSWindow&);
void remove_window(WSWindow&);
@ -223,6 +227,8 @@ private:
WeakPtr<WSButton> m_hovered_button;
WSCPUMonitor m_cpu_monitor;
RetainPtr<CConfigFile> m_wm_config;
};
template<typename Callback>