xwayland: allocate sockets from id 500
This commit is contained in:
parent
05b30c0a09
commit
feddb25ee4
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ pub(super) fn allocate_socket() -> Result<(XSocket, Rc<OwnedFd>), XWaylandError>
|
|||
Ok(f) => Rc::new(f),
|
||||
Err(e) => return Err(XWaylandError::SocketFailed(e.into())),
|
||||
};
|
||||
for i in 0..1000 {
|
||||
for i in 500..1500 {
|
||||
match bind_socket(&fd, i) {
|
||||
Ok(s) => return Ok(s),
|
||||
Err(e) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue