# Other Monitor randomly steals focus, interrupting typing

**URL:** <http://forum.hypr.land/t/other-monitor-randomly-steals-focus-interrupting-typing/2089>\
**Category:** Bugs / FRs / Support\
**Tags:** hyprland, bug, window-management\
**Created:** [August 11, 2026, 1:42am UTC](http://forum.hypr.land/t/other-monitor-randomly-steals-focus-interrupting-typing/2089 "2026-08-11T01:42:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ruq](http://forum.hypr.land/user_avatar/forum.hypr.land/ruq/32/1449_2.png) [@ruq](http://forum.hypr.land/u/ruq)\
**Post date:** [August 11, 2026, 1:42am UTC](http://forum.hypr.land/t/other-monitor-randomly-steals-focus-interrupting-typing/2089/1 "2026-08-11T01:42:08Z")

</div>

> **Hyprland version**
>
> ```auto
> Hyprland 0.56.1 built from branch v0.56.1 at commit 5c9377c15f85c50648f35ca5a213754f95b93ca0 clean (version: bump to 0.56.1).
> Date: Mon Jul 27 16:33:49 2026
> Tag: v0.56.1, commits: 7643
> 
> Libraries:
> Hyprgraphics: built against 0.5.1, system has 0.5.1
> Hyprutils: built against 0.14.0, system has 0.14.0
> Hyprcursor: built against 0.1.13, system has 0.1.13
> Hyprlang: built against 0.6.8, system has 0.6.8
> Aquamarine: built against 0.14.0, system has 0.14.0
> 
> Version ABI string: 5c9377c15f85c50648f35ca5a213754f95b93ca0_aq_0.14_hu_0.14_hg_0.5_hc_0.1_hlg_0.6
> no flags were set
> 
> ```

## Describe your issue / feature…

I can’t figure what’s going on here, but I have a dual monitor setup in vertical stack, and the top monitor sometimes seems to randomly steal focus into whatever app is currently running in the top monitor, even as I’m actively typing into an app in the bottom monitor. I’ve already tried disabling mouse warp, focus\_on\_activate, and set custom window rules so that anything Steam (i.e. notifications) don’t grab away focus, but it still just happens every once in a while, sometimes in repeated bouts.

I need advice or a pointer as to what’s going on.

---

<div class="post-metadata">

**Author:** ![ruq](http://forum.hypr.land/user_avatar/forum.hypr.land/ruq/32/1449_2.png) [@ruq](http://forum.hypr.land/u/ruq)\
**Post date:** [August 12, 2026, 8:39pm UTC](http://forum.hypr.land/t/other-monitor-randomly-steals-focus-interrupting-typing/2089/2 "2026-08-12T20:39:30Z")

</div>

Upon further attempt at investigation, it could be that Steam is creating windows with empty initial titles/classes. So I’m going to try making a simple window match with no\_initial\_focus to see if that catches those happenings.

---

<div class="post-metadata">

**Author:** ![ruq](http://forum.hypr.land/user_avatar/forum.hypr.land/ruq/32/1449_2.png) [@ruq](http://forum.hypr.land/u/ruq)\
**Post date:** [August 19, 2026, 11:54pm UTC](http://forum.hypr.land/t/other-monitor-randomly-steals-focus-interrupting-typing/2089/3 "2026-08-19T23:54:26Z")

</div>

It’s definitely Steam at fault here, but I’m going crazy trying to figure out how to stop it from grabbing focus!

---

<div class="post-metadata">

**Author:** ![vito](http://forum.hypr.land/user_avatar/forum.hypr.land/vito/32/1354_2.png) [@vito](http://forum.hypr.land/u/vito)\
**Post date:** [August 21, 2026, 6:13am UTC](http://forum.hypr.land/t/other-monitor-randomly-steals-focus-interrupting-typing/2089/4 "2026-08-21T06:13:25Z")

</div>

I just tried with:

```lua
hl.window_rule({
  name = 'fix-steam-focus',
  match = { initial_class = 'steam' },
  no_initial_focus = true,
  suppress_event = 'activatefocus',
})

```

and i cant get it to steal focus like that no matter what i do

---

<div class="post-metadata">

**Author:** ![ruq](http://forum.hypr.land/user_avatar/forum.hypr.land/ruq/32/1449_2.png) [@ruq](http://forum.hypr.land/u/ruq)\
**Post date:** [October 4, 2026, 11:20pm UTC](http://forum.hypr.land/t/other-monitor-randomly-steals-focus-interrupting-typing/2089/5 "2026-10-04T23:20:25Z")

</div>

I finally solved it! I missed a small footnote in hyprland’s wiki (of which there are many), and it’s how you define which monitor an app opens on for its window rule.

Changing `monitor = "DP-2"` to `monitor = "DP-2 silent"` did the trick!.
