Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wayland: detect the right display even when follow=keyboard/mouse #989

Open
fwsmit opened this issue Nov 30, 2021 · 7 comments
Open

Wayland: detect the right display even when follow=keyboard/mouse #989

fwsmit opened this issue Nov 30, 2021 · 7 comments
Labels

Comments

@fwsmit
Copy link
Member

fwsmit commented Nov 30, 2021

Now dunst just makes a guess on which display is used or has some workaround. This might cause issues, like maybe #987.

@BBaoVanC
Copy link

BBaoVanC commented Dec 2, 2022

It seems to choose the monitor that has mouse/keyboard focus during startup, and then never change (even if follow is enabled). Is this what you're getting?

@evgfilim1
Copy link

It seems to choose the monitor that has mouse/keyboard focus during startup, and then never change (even if follow is enabled). Is this what you're getting?

Looks like I'm getting this. When an app sends a notification, it is displayed on the currently active monitor, but follow= is totally ignored.

@BBaoVanC
Copy link

It seems to choose the monitor that has mouse/keyboard focus during startup, and then never change (even if follow is enabled). Is this what you're getting?

Looks like I'm getting this. When an app sends a notification, it is displayed on the currently active monitor, but follow= is totally ignored.

Yeah I'm getting this exact behavior now. It used to only be the monitor that I was on during dunst startup, but now it's whatever monitor I was on when the notification was sent.

@fwsmit
Copy link
Member Author

fwsmit commented Dec 21, 2022

but now it's whatever monitor I was on when the notification was sent.

That's the intended behavior.

If the notification doesn't follow your cursor, then you should check with your compositor. Dunst sends a hint, but the compositor doesn't have to do anything with it

@evgfilim1
Copy link

evgfilim1 commented Dec 21, 2022

If the notification doesn't follow your cursor, then you should check with your compositor. Dunst sends a hint, but the compositor doesn't have to do anything with it

But I'm sure it definitely worked earlier.
I'm using dunst with sway (Wayland) on Arch Linux.

~> pacman -Q dunst sway
dunst 1.9.0-1
sway 1:1.7-10

@fwsmit
Copy link
Member Author

fwsmit commented Dec 21, 2022

You can try older versions of sway to see if it works there. I don't think dunst has changed anything here. This isssue is also about something different

@bynect
Copy link
Member

bynect commented Apr 6, 2024

I think this is the same problem found in #1316

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants