From 26239e23e848ab1e6d29d1f052131885da26dc06 Mon Sep 17 00:00:00 2001 From: nnra6864 <104775644+nnra6864@users.noreply.github.com> Date: Wed, 10 Apr 2024 23:39:36 +0200 Subject: [PATCH] Popups at cursor position (#589) * Popups at cursor position Provided a fix for opening popups(such as Unity color picker/material selector) at cursor position and therefore not disappearing when moving the pointer towards them. * xwayland only edit Mentioned that this fix is needed for xwayland apps only. --- pages/FAQ/_index.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pages/FAQ/_index.md b/pages/FAQ/_index.md index 8aafe47..77fb3b5 100644 --- a/pages/FAQ/_index.md +++ b/pages/FAQ/_index.md @@ -342,7 +342,7 @@ keybinds and passes them on to the vm. Then, pressing `SUPER + Escape` will leave that mode. -### Some of my drop-down/pop-up windows in apps disappear +### Some of my drop-down/pop-up windows in apps disappear/don't open at cursor position In some apps like Steam or VSCode, the drop-down windows may disappear if you hover over them. This can be fixed with window rules. @@ -374,6 +374,15 @@ If the pop-up disappears immediately, you can use: windowrulev2 = minsize 1 1, title:^(TITLE)$, class:^(CLASS)$ ``` +If the pop-up doesn't open at the cursor position, try the following: + +```ini +windowrulev2 = move onscreen cursor, title:^(TITLE)$, class:^(CLASS)$ +``` + +This is required for apps running under xwayland only and there is usually no need +to use the first solution if opening at the cursor position. + ### Steam's file picker no worky On instances where you have a steam library on another drive that you have to