Fix DaVinci Resolve focus lock#5926
Conversation
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Updates the Hyprland window rule for DaVinci Resolve to avoid focus-locking behavior by removing stay_focused and narrowing the rule to a simple floating configuration.
Changes:
- Replaced the previous “float + stay_focused” Resolve rule with “float only”.
- Expanded comments to document why
stay_focusedis not used.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
56cd366 to
1d38ac4
Compare
1d38ac4 to
930b28c
Compare
930b28c to
69c0d81
Compare
69c0d81 to
d4fb140
Compare
d4fb140 to
e2edced
Compare
|
CC @28allday |
|
will take a look |
|
here we go Tested on omarchy 4.0.0.alpha (Hyprland-in-Lua) — the focus / cursor lock is gone ✅. One thing worth catching before merge: float = true is applied to every Resolve window including the main editor, so it can no longer tile-split with another app. That breaks drag-and-drop of media from Nautilus → Resolve's timeline / Media Pool (common workflow, no visible drag source when Resolve fills the workspace). Single-rule fix — drop-in replacement for default/hypr/apps/davinci-resolve.lua, supersedes this PR (keeps the stay_focused drop and the anchored class match, adds a title negative-lookahead so the main editor tiles, and center = true so off-screen dialogs from old monitor layouts come back on-screen): -- DaVinci Resolve dialog focus handling. Verified on dual monitor (eDP-1 + HDMI-A-1) with both Resolve free and Resolve Studio — main editor tiles, Project Manager / Project Settings float
|
|
yeah that will work as well nice |
|
@dhh @28allday changes have been made, kept it a single rule as you mentioned, switched to using Hyprland's supported negate regex syntax. the main window should now be able to tile normally while still keeping the secondary/dialog window(s) floating, and added the center property so dialogs don't reopen off screen. |
Fixes #5887.
DaVinci Resolve should still float under XWayland, but applying
stay_focusedto every Resolve window prevents focusing other apps and monitors while Resolve is open.This narrows the default rule to keep Resolve floating without globally locking focus.
Tested:
lua -e 'assert(loadfile("default/hypr/apps/davinci-resolve.lua"))'bash test/omarchy-cli-test.sh