Skip to content

Add edge trigger feature (show/hide on screen edge) - #5

Merged
oshiteku merged 5 commits into
mainfrom
feature/edge-trigger
Jan 25, 2026
Merged

Add edge trigger feature (show/hide on screen edge)#5
oshiteku merged 5 commits into
mainfrom
feature/edge-trigger

Conversation

@oshiteku

Copy link
Copy Markdown
Owner

Summary

  • Implement cursor-based window toggle (mouse-centric workflow)
  • State machine: Idle → PendingShow → Active → PendingHide
  • Debounced delays: 100ms show, 300ms hide
  • Registry persistence for enable/disable setting

Closes #4

🤖 Generated with Claude Code

oshiteku and others added 5 commits January 25, 2026 22:01
Cursor → screen edge → show/hide window (macOS hot corners style)
- State machine: Idle → PendingShow → Active → PendingHide
- Multi-monitor support via MonitorFromPoint
- Configurable delays (show: 100ms, hide: 300ms)
- Settings persisted in registry (HKCU\Software\QuakeModoki)
- Tray menu toggle for enable/disable

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Remove unused save_config(), load_config(), registry key constants
- EdgeAction: remove None variant, return Option<EdgeAction> instead
- Use EdgeConfig::default() directly in main.rs
- Remove obsolete registry config tests

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add serial_test crate to prevent race conditions when parallel tests
access shared Windows registry state.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@oshiteku
oshiteku merged commit 487286e into main Jan 25, 2026
1 check passed
@oshiteku
oshiteku deleted the feature/edge-trigger branch January 25, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Toggle visibility by moving cursor to screen edge

1 participant