# Help with broken nofocus window rule

**URL:** <http://forum.hypr.land/t/help-with-broken-nofocus-window-rule/884>\
**Category:** General\
**Tags:** help\
**Created:** [September 24, 2025, 9:56am UTC](http://forum.hypr.land/t/help-with-broken-nofocus-window-rule/884 "2025-09-24T09:56:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sysfs](http://forum.hypr.land/letter_avatar_proxy/v4/letter/s/53a042/32.png) [@sysfs](http://forum.hypr.land/u/sysfs)\
**Post date:** [September 24, 2025, 9:56am UTC](http://forum.hypr.land/t/help-with-broken-nofocus-window-rule/884/1 "2025-09-24T09:56:00Z")

</div>

Hey there,

I’m trying to use a window rule to make this window unfocusable:

```auto
Window 62fcf2346f40 -> :
	mapped: 1
	hidden: 0
	at: 2420,83
	size: 227,41
	workspace: 5 (5)
	floating: 1
	pseudo: 0
	monitor: 0
	class: jetbrains-idea-ce
	title:
	initialClass: jetbrains-idea-ce
	initialTitle:
	pid: 23508
	xwayland: 1
	pinned: 0
	fullscreen: 0
	fullscreenClient: 0
	grouped: 0
	tags:
	swallowing: 0
	focusHistoryID: 0
	inhibitingIdle: 0
	xdgTag:
	xdgDescription:

```

I currently have

```auto
windowrulev2 = nofocus,class:jetbrains-idea-ce,title:^$,xwayland:1,floating:1

```

but it’s unfortunately not doing anything. Any ideas what’s wrong?

Thanks!

```auto
Hyprland 0.51.1 built from branch at commit 71a1216abcc7031776630a6d88f105605c4dc1c9 ([gha] Nix: update inputs).
Date: Mon Sep 22 20:54:03 2025
Tag: v0.51.1, commits: 6436
built against:
 aquamarine 0.9.4
 hyprlang 0.6.3
 hyprutils 0.8.4
 hyprcursor 0.1.13
 hyprgraphics 0.1.6

```

---

<div class="post-metadata">

**Author:** ![furthermoreout](http://forum.hypr.land/letter_avatar_proxy/v4/letter/f/3ec8ea/32.png) [@furthermoreout](http://forum.hypr.land/u/furthermoreout)\
**Post date:** [September 24, 2025, 10:11pm UTC](http://forum.hypr.land/t/help-with-broken-nofocus-window-rule/884/2 "2025-09-24T22:11:39Z")

</div>

Please open your jetbrains app, then on a terminal run:

```bash
hyprctl -j clients | jq 'map(select(.initialClass | contains("jetbrains-idea-ce")))'

```

and share the output.

---

<div class="post-metadata">

**Author:** ![sysfs](http://forum.hypr.land/letter_avatar_proxy/v4/letter/s/53a042/32.png) [@sysfs](http://forum.hypr.land/u/sysfs)\
**Post date:** [September 25, 2025, 9:13am UTC](http://forum.hypr.land/t/help-with-broken-nofocus-window-rule/884/3 "2025-09-25T09:13:59Z")

</div>

Sorry what does that do for me? This yields exactly the same info as what I’ve put above.
