summaryrefslogtreecommitdiff
path: root/Servers/WindowServer/WSWindowManager.h
diff options
context:
space:
mode:
authorChristopher Dumas <christopherdumas@gmail.com>2019-05-24 21:10:23 -0700
committerAndreas Kling <awesomekling@gmail.com>2019-05-27 21:40:53 +0200
commitd4a16d6031397f458c57b307c7a7b1f8e51736de (patch)
tree488dd4bdd22f2c653ff3a1357ba2d6fc766bbbbb /Servers/WindowServer/WSWindowManager.h
parent9d2b08e06eb3139fcdebef283d0635365fddd4b5 (diff)
downloadserenity-d4a16d6031397f458c57b307c7a7b1f8e51736de.zip
Network stack is now configurable, and resolution is also configurable, but loading cursors causes a page-fault?
Diffstat (limited to 'Servers/WindowServer/WSWindowManager.h')
-rw-r--r--Servers/WindowServer/WSWindowManager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Servers/WindowServer/WSWindowManager.h b/Servers/WindowServer/WSWindowManager.h
index f625406bbc..86a766471d 100644
--- a/Servers/WindowServer/WSWindowManager.h
+++ b/Servers/WindowServer/WSWindowManager.h
@@ -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>