mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-05 08:06:09 +00:00
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 :^)
This commit is contained in:
@@ -40,7 +40,7 @@ GEventLoop::GEventLoop()
|
||||
address.sun_family = AF_LOCAL;
|
||||
strcpy(address.sun_path, "/wsportal");
|
||||
|
||||
int retries = 10;
|
||||
int retries = 1000;
|
||||
int rc = 0;
|
||||
while (retries) {
|
||||
rc = connect(m_event_fd, (const sockaddr*)&address, sizeof(address));
|
||||
@@ -53,6 +53,7 @@ GEventLoop::GEventLoop()
|
||||
if (rc < 0) {
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
dbgprintf("(%u) GEventLoop constructed :)\n", getpid());
|
||||
}
|
||||
|
||||
GEventLoop::~GEventLoop()
|
||||
|
||||
Reference in New Issue
Block a user