Andreas Kling
e5df2a5d5b
WindowServer: Post error if trying to destroy non-existent menubar.
2019-02-14 10:31:39 +01:00
Andreas Kling
5d30c6b00c
WindowServer: Add WSClientConnection::create_bitmap().
...
There we go. Now WSWindow doesn't know about Process at all.
2019-02-14 10:29:17 +01:00
Andreas Kling
9ab9734da0
WindowServer: Add WSClientConnection::post_message().
...
This way WSWindow doesn't have to grab at the Process.
2019-02-14 10:15:49 +01:00
Andreas Kling
222a6f7bbc
WindowServer: Post error messages to clients on protocol failure.
2019-02-14 09:32:34 +01:00
Andreas Kling
28da956a12
WindowServer: Refactor WSClientConnection to have one function per request.
...
This is a lot nicer than the big switch full of code. This stuff has a bit
of a "please generate me instead" vibe to it, but I need to mess around with
it some more to figure out what the needs are.
This patch also unbreaks global cursor tracking, which was forgotten in the
big messaging refactoring.
2019-02-14 08:43:29 +01:00
Andreas Kling
aa7947c889
WindowServer: Add WSClientConnection class to manage an individual client.
...
This makes both object lifetimes and object ID's a lot easier to understand.
2019-02-14 08:22:47 +01:00