[PR #2725] [MERGED] Drop the whole stack on Ctrl+Q by the physical Control key only #4568

Closed
opened 2026-11-03 04:18:07 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2725
Author: @kacpherek
Created: 10/27/2026
Status: ✅ Merged
Merged: 10/27/2026
Merged by: @ludovic111

Base: main ← Head: fix/2702-toggle-sprint-ctrl-drop


📝 Commits (2)

  • a23a7ec Drop the whole stack on Ctrl+Q by the physical Control key only
  • 3b8a8ee Merge main into fix/2702-toggle-sprint-ctrl-drop

📊 Changes

1 file changed (+3 additions, -1 deletions)

View changed files

📝 crates/horizon-client/src/game/remote.rs (+3 -1)

📄 Description

What and why

With sprint set to toggle on Left Control, a toggled-on sprint makes Q drop the whole stack, as if Ctrl was held.

On a server, the queued drop key read self.keys for Left Control. A toggled sprint (or sneak) puts its key into that set without any physical key press. The drop now asks for the physical Control keys, the same as the in-game and menu drops already do.

Fixes #2702.

Vanilla reference

Minecraft.hasControlDown (used by handleKeybinds for key.drop): reads the real keyboard, not the key mappings.

Self-check

cargo check -p horizon-client passes.


🔄 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/horizon-rust/horizon/pull/2725 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/27/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/2702-toggle-sprint-ctrl-drop` --- ### 📝 Commits (2) - [`a23a7ec`](https://github.com/horizon-rust/horizon/commit/a23a7ec35af7afadf309ba240ac5843cf0f45c32) Drop the whole stack on Ctrl+Q by the physical Control key only - [`3b8a8ee`](https://github.com/horizon-rust/horizon/commit/3b8a8eeb911d9b32629b3d4ff29e546d0f5f3fec) Merge main into fix/2702-toggle-sprint-ctrl-drop ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/remote.rs` (+3 -1) </details> ### 📄 Description ## What and why With sprint set to toggle on Left Control, a toggled-on sprint makes Q drop the whole stack, as if Ctrl was held. On a server, the queued drop key read `self.keys` for Left Control. A toggled sprint (or sneak) puts its key into that set without any physical key press. The drop now asks for the physical Control keys, the same as the in-game and menu drops already do. Fixes #2702. ## Vanilla reference `Minecraft.hasControlDown` (used by `handleKeybinds` for `key.drop`): reads the real keyboard, not the key mappings. ## Self-check `cargo check -p horizon-client` passes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:18:07 +07: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
horizon-rust/horizon#4568
No description provided.