[PR #869] [MERGED] keyboard: fix panic when layout update channel lags behind #9435

Closed
opened 2026-05-23 03:56:35 +01:00 by JakeStanger · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/ironbar/pull/869
Author: @quietvoid
Created: 2/16/2025
Status: Merged
Merged: 2/16/2025
Merged by: @JakeStanger

Base: masterHead: keyboard_layout_channel


📝 Commits (1)

  • ced1bae keyboard: fix panic when layout update channel lags behind

📊 Changes

3 files changed (+16 additions, -5 deletions)

View changed files

📝 src/clients/compositor/hyprland.rs (+1 -1)
📝 src/clients/compositor/sway.rs (+1 -1)
📝 src/modules/keyboard.rs (+14 -3)

📄 Description

Not sure of the implications of increasing capacity but I don't think it's really a problem.
Switched event loop to avoid ending on RecvError::Lagged response.


🔄 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/JakeStanger/ironbar/pull/869 **Author:** [@quietvoid](https://github.com/quietvoid) **Created:** 2/16/2025 **Status:** ✅ Merged **Merged:** 2/16/2025 **Merged by:** [@JakeStanger](https://github.com/JakeStanger) **Base:** `master` ← **Head:** `keyboard_layout_channel` --- ### 📝 Commits (1) - [`ced1bae`](https://github.com/JakeStanger/ironbar/commit/ced1bae91d78282c7b4d0a277487d65830071867) keyboard: fix panic when layout update channel lags behind ### 📊 Changes **3 files changed** (+16 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/clients/compositor/hyprland.rs` (+1 -1) 📝 `src/clients/compositor/sway.rs` (+1 -1) 📝 `src/modules/keyboard.rs` (+14 -3) </details> ### 📄 Description Not sure of the implications of increasing capacity but I don't think it's really a problem. Switched event loop to avoid ending on `RecvError::Lagged` response. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
JakeStanger 2026-05-23 03:56:35 +01: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
JakeStanger/ironbar#9435
No description provided.