1
0
Fork 0
forked from wry/wry

autocommit 2022-02-24 18:24:14 CET

This commit is contained in:
Julian Orth 2022-02-24 18:24:14 +01:00
parent 7d28d30666
commit 6e466360a8
18 changed files with 185 additions and 65 deletions

View file

@ -140,7 +140,9 @@ impl ForkerProxy {
wmfd: Rc<OwnedFd>,
waylandfd: Rc<OwnedFd>,
) -> Result<OwnedFd, ForkerError> {
self.fds.borrow_mut().extend([stderr, dfd, listenfd, wmfd, waylandfd]);
self.fds
.borrow_mut()
.extend([stderr, dfd, listenfd, wmfd, waylandfd]);
let id = self.next_id.fetch_add(1);
self.outgoing.push(ServerMessage::Xwayland { id });
self.pidfd(id).await