HDT: Wine overlay plugin, no_focus on overlay
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
dae90efcf9
commit
bc74760172
3 changed files with 200 additions and 2 deletions
|
|
@ -380,12 +380,17 @@ in
|
|||
|
||||
-- Hearthstone Deck Tracker's overlay: a transparent WPF window HDT
|
||||
-- itself keeps moved and sized over Hearthstone (title from its
|
||||
-- OverlayWindow XAML). The generic tile rule above would tile it
|
||||
-- like a game; float it bare and never hand it focus.
|
||||
-- OverlayWindow XAML). The Wine plugin in apps/hdt-wine-overlay
|
||||
-- keeps it override-redirect; this is the safety net if Wine ever
|
||||
-- hands it over as a managed window, which the tile rule above
|
||||
-- would tile. no_focus matters either way: Hyprland hit-tests the
|
||||
-- window box, not the X11 input shape, so focus-follows-mouse
|
||||
-- handed focus to the overlay whenever the cursor was over the game.
|
||||
hl.window_rule({
|
||||
name = "hdt-overlay",
|
||||
match = { class = "^steam_app_(0|default)$", title = "^HearthstoneOverlay$" },
|
||||
float = true,
|
||||
no_focus = true,
|
||||
no_initial_focus = true,
|
||||
decorate = false,
|
||||
border_size = 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue