Picture-in-Picture resizes to full screen randomly

Hyprland version
Hyprland 0.54.3 built from branch v0.54.3 at commit 521ece463c4a9d3d128670688a34756805a4328f clean (version: bump to 0.54.3).
Date: Fri Mar 27 18:17:50 2026
Tag: v0.54.3, commits: 7014

Libraries:
Hyprgraphics: built against 0.5.0, system has 0.5.0
Hyprutils: built against 0.11.1, system has 0.11.1
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.10.0, system has 0.10.0

Version ABI string: 521ece463c4a9d3d128670688a34756805a4328f_aq_0.10_hu_0.11_hg_0.5_hc_0.1_hlg_0.6
no flags were set

When I’m on a google meet call, I use the firefox feature “picture-in-picture”(written PIP further) to pull out the video of the person i’m talking to and place it as a floating window on the right corner of my screen.

This PIP window at random times(i have not been able to figure out what triggers it) turns full screen and i have to resize it back… it happens so much that it gets extremely annoying but i really want to use the PIP.

  • before (when the PIP window is normally set in the corner)
Window 55d76c5947e0 -> Picture-in-Picture:
	mapped: 1
	hidden: 0
	at: 1533,283
	size: 390,234
	workspace: 1 (1)
	floating: 1
	monitor: 0
	class: firefox
	title: Picture-in-Picture
	initialClass: firefox
	initialTitle: Picture-in-Picture
	pid: 1623
	xwayland: 0
	pinned: 0
	fullscreen: 0
	fullscreenClient: 0
	overFullscreen: 1
	grouped: 0
	tags: 
	swallowing: 0
	focusHistoryID: 2
	inhibitingIdle: 0
	xdgTag: 
	xdgDescription: 
	contentType: none
	stableID: 18000094
  • after (when it has turned fullscreen)
Window 55d76c5947e0 -> Picture-in-Picture:
	mapped: 1
	hidden: 0
	at: 5,66
	size: 1910,1009
	workspace: 1 (1)
	floating: 1
	monitor: 0
	class: firefox
	title: Picture-in-Picture
	initialClass: firefox
	initialTitle: Picture-in-Picture
	pid: 1623
	xwayland: 0
	pinned: 0
	fullscreen: 1
	fullscreenClient: 1
	overFullscreen: 1
	grouped: 0
	tags: 
	swallowing: 0
	focusHistoryID: 1
	inhibitingIdle: 0
	xdgTag: 
	xdgDescription: 
	contentType: none
	stableID: 18000094

After a lot of searching and conversations with unreliable LLMs I was able to somewhat establish that the fullscreen is happening because of something that google meet does.

  • used this command to monitor the socket and got this output
socat - UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/521ece463c4a9d3d128670688a34756805a4328f_1774775392_1182801095/.socket2.sock
activewindow>>firefox,Hyprland PiP Issue Debugging — Mozilla Firefox 
activewindowv2>>55d76dc31cc0
fullscreen>>1 
urgent>>55d76dc9c4a0 
activewindow>>firefox,Picture-in-Picture 
activewindowv2>>55d76dc9c4a0 fullscreen>>0 
activewindow>>firefox,Picture-in-Picture 
activewindowv2>>55d76dc9c4a0 

This output hopefully is useful (i don’t really understand it but it was requested by aforementioned LLM). The LLM said that this is apparently “concrete proof” that this is all google meet’s fault.

So, I tried to create some window rule that would prevent that from happening but I could not make one.

Please help me fix this… it is really irritating.

Use suppress_event, see here: Window Rules – Hyprland Wiki