summaryrefslogtreecommitdiff
path: root/WindowServer/WSClientConnection.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-17 00:13:47 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-17 00:13:47 +0100
commit640360e958d6dea05ba0e294af52160bc10725cb (patch)
tree509ac7609062108169b8332064ebfae40edef1c6 /WindowServer/WSClientConnection.h
parent0b1b21d62286b73b8c59a2ce12e75a6de0f84f13 (diff)
downloadserenity-640360e958d6dea05ba0e294af52160bc10725cb.zip
Move WindowServer to userspace.
This is a monster patch that required changing a whole bunch of things. There are performance and stability issues all over the place, but it works. Pretty cool, I have to admit :^)
Diffstat (limited to 'WindowServer/WSClientConnection.h')
-rw-r--r--WindowServer/WSClientConnection.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/WindowServer/WSClientConnection.h b/WindowServer/WSClientConnection.h
index e92921150a..f2467c14fd 100644
--- a/WindowServer/WSClientConnection.h
+++ b/WindowServer/WSClientConnection.h
@@ -19,11 +19,10 @@ public:
virtual ~WSClientConnection() override;
static WSClientConnection* from_client_id(int client_id);
- static WSClientConnection* ensure_for_client_id(int client_id);
static void for_each_client(Function<void(WSClientConnection&)>);
void post_message(const WSAPI_ServerMessage&);
- RetainPtr<GraphicsBitmap> create_bitmap(const Size&);
+ RetainPtr<GraphicsBitmap> create_shared_bitmap(const Size&);
int client_id() const { return m_client_id; }
WSMenuBar* app_menubar() { return m_app_menubar.ptr(); }
@@ -52,7 +51,6 @@ private:
void handle_request(WSAPIInvalidateRectRequest&);
void handle_request(WSAPIDidFinishPaintingNotification&);
void handle_request(WSAPIGetWindowBackingStoreRequest&);
- void handle_request(WSAPIReleaseWindowBackingStoreRequest&);
void handle_request(WSAPISetGlobalCursorTrackingRequest&);
void post_error(const String&);