[PR #8] [MERGED] Initial Hotplug support #225

Closed
opened 2026-05-05 22:14:36 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/feschber/lan-mouse/pull/8
Author: @feschber
Created: 6/10/2023
Status: Merged
Merged: 6/10/2023
Merged by: @feschber

Base: mainHead: hotplug


📝 Commits (10+)

📊 Changes

8 files changed (+134 additions, -37 deletions)

View changed files

📝 Cargo.lock (+7 -0)
📝 Cargo.toml (+4 -8)
📝 src/backend/consumer/wlroots.rs (+1 -1)
📝 src/client.rs (+27 -13)
📝 src/event/server.rs (+32 -10)
src/ioutils.rs (+49 -0)
📝 src/lib.rs (+1 -0)
📝 src/main.rs (+13 -5)

📄 Description

This allows to dynamically add clients when an event is received from an unknown IP address.

The user is asked to confirm any unknown connection from new clients.

Currently the back-ends for event producing and consuming are not yet notified, so events will not yet be received and sent to the newly created clients.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/feschber/lan-mouse/pull/8 **Author:** [@feschber](https://github.com/feschber) **Created:** 6/10/2023 **Status:** ✅ Merged **Merged:** 6/10/2023 **Merged by:** [@feschber](https://github.com/feschber) **Base:** `main` ← **Head:** `hotplug` --- ### 📝 Commits (10+) - [`2dafe07`](https://github.com/feschber/lan-mouse/commit/2dafe079c3bf6315ab55bc17f15eb64802a40bbc) initial support for hotplug on the server side - [`6c0979c`](https://github.com/feschber/lan-mouse/commit/6c0979c1857779f2902a06029fc2a1dbd8e45b0c) better confirmation - [`3bc03b1`](https://github.com/feschber/lan-mouse/commit/3bc03b18c9d1e498a257b8590bae4311033b2be2) fix formatting - [`bedbe15`](https://github.com/feschber/lan-mouse/commit/bedbe15a143aa866e4de22bc967d02a425276199) fix: reset update variable - [`a1b42bf`](https://github.com/feschber/lan-mouse/commit/a1b42bf6264de62d562c8bb60b1609aaed148d9f) fix notify - [`5c8d00b`](https://github.com/feschber/lan-mouse/commit/5c8d00b99f9f9ffeaef8a3fa534d194e8c45465d) fix position asking - [`46efab5`](https://github.com/feschber/lan-mouse/commit/46efab5f05604786c303412cdb01c982f8c3d54a) fix oopsie - [`56ed7c5`](https://github.com/feschber/lan-mouse/commit/56ed7c58f0af3a88a17366d1e231a074d254ff5f) fix default handling - [`a67c768`](https://github.com/feschber/lan-mouse/commit/a67c76833296e508deb7fdba1df9d8214d76694e) fix another mistake - [`1668e2a`](https://github.com/feschber/lan-mouse/commit/1668e2ace4416e55aa24ce4f0b8a2e0649ec8318) initialize clients ### 📊 Changes **8 files changed** (+134 additions, -37 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+7 -0) 📝 `Cargo.toml` (+4 -8) 📝 `src/backend/consumer/wlroots.rs` (+1 -1) 📝 `src/client.rs` (+27 -13) 📝 `src/event/server.rs` (+32 -10) ➕ `src/ioutils.rs` (+49 -0) 📝 `src/lib.rs` (+1 -0) 📝 `src/main.rs` (+13 -5) </details> ### 📄 Description This allows to dynamically add clients when an event is received from an unknown IP address. The user is asked to confirm any unknown connection from new clients. Currently the back-ends for event producing and consuming are not yet notified, so events will not yet be received and sent to the newly created clients. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 22:14:36 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/lan-mouse#225
No description provided.