Keep any window always on top on macOS
See Pin in action: southflowpeak.com/pin
- 🪟 Pin Any Window - Select any window and keep it always visible on top
- 📋 Menu Bar Control - Easily select and manage windows from the menu bar
- 🔔 Auto Updates - Built-in automatic updates via Sparkle
- macOS 14.0 (Sonoma) or later
Pin requires Screen Recording permission to function.
On first launch, you'll see the dialog above. Click "Open System Settings" and enable Pin in the Privacy & Security settings.
Pin uses macOS's ScreenCaptureKit API to keep windows on top:
- SCStream captures the target window's content in real-time
- The captured frames are displayed using AVSampleBufferDisplayLayer
- This layer is placed in a floating window set to
NSWindow.Level.floating
This creates a "mirror window" that stays on top even when the original window is behind other windows. Since ScreenCaptureKit is used to capture window content, macOS requires Screen Recording permission.
- Click the 📌 icon in the menu bar
- Select "Pin Window..." and choose the window you want to pin
- To unpin, click the pin icon on the top-left of the mirror window, or select "Unpin" from the menu
MIT License

