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

Window focus changes to output where notifications are shown #24

Open
leandro-lucarella-sociomantic opened this issue Jun 18, 2019 · 2 comments

Comments

@leandro-lucarella-sociomantic

I don't know if anyone else is experiencing this, but I'm using multiple screens and notifications are shown in screen 1. If I have a window focused in screen 2, when a notification is shown, the focus goes to screen 1 (I think the last focused window in that screen). This is extremely annoying (and a security hazards, as I could be suddenly typing a password in a chat without noticing).

Any ideas on what the problem could be and how to fix it? I tried adding the mouse_warping none i3 config option but it didn't help.

@leandro-lucarella-sociomantic
Copy link
Author

I think I found the reason, I think it was related to the urgent workspace feature:

force_display_urgency_hint 0 ms
focus_on_window_activation urgent

I removed those 2 but I think I still had problems to time to time, so I also added an explicit no_focus for notifications:

no_focus [window_type="notification"]

This got rid of the problem.

@leandro-lucarella-sociomantic
Copy link
Author

False alarm. This still happens with the options.

But it seems to be a firefox issue, as I think it only happens when I'm typing in firefox while the notification arrives.

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

No branches or pull requests

2 participants