mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:28:12 +00:00
Port LibGUI to use CIPCClientSideConnection
As a consequence, move to use an explicit handshake() method rather than calling virtuals from the constructor. This seemed to not bother AClientConnection, but LibGUI crashes (rightfully) because of it.
This commit is contained in:
parent
41bece0682
commit
2177594c96
18 changed files with 195 additions and 280 deletions
|
@ -5,7 +5,7 @@
|
|||
#include <AK/Function.h>
|
||||
#include <SharedGraphics/Rect.h>
|
||||
|
||||
class GEventLoop;
|
||||
class GWindowServerConnection;
|
||||
|
||||
class GDesktop {
|
||||
public:
|
||||
|
@ -16,7 +16,7 @@ public:
|
|||
bool set_wallpaper(const StringView& path);
|
||||
|
||||
Rect rect() const { return m_rect; }
|
||||
void did_receive_screen_rect(Badge<GEventLoop>, const Rect&);
|
||||
void did_receive_screen_rect(Badge<GWindowServerConnection>, const Rect&);
|
||||
|
||||
Function<void(const Rect&)> on_rect_change;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue