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

Stealing focus? #1419

Open
s2617917 opened this issue Dec 16, 2024 · 2 comments
Open

Stealing focus? #1419

s2617917 opened this issue Dec 16, 2024 · 2 comments

Comments

@s2617917
Copy link

I have noticed that dunst appears to now be stealing focus.

i3WM 4.24-1
Kernel 6.12.4-arch1-1
Arch Linux.

Dunst:

Dunst - A customizable and lightweight notification-daemon 1.12.0 (2024-11-30)
Compiled on 2024-12-07 with the following options:
X11 support: enabled
Wayland support: enabled
SYSCONFDIR set to: /etc
Compiler flags: -g -std=gnu11 -pedantic -Wall -Wno-overlength-strings -Os -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/dunst/src=/usr/src/debug/dunst -flto=auto -pthread -MMD -MP
Linker flags: -lm -lrt -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -lgio-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lcairo -lwayland-client -lwayland-cursor -lX11 -lXinerama -lXext -lXrandr -lXss

I have recently performed a full system update.

Thougths? Config changes I can make?
Thanks in advance

@bynect
Copy link
Member

bynect commented Dec 16, 2024

You are on x11 right?
What version of dunst where you using before? I don't think we recently changed part related to focus

Are you sure this is not due to the wm update?

@MikeSS8
Copy link

MikeSS8 commented Dec 16, 2024

You could try turning off whatever "focus follows mouse" option i3wm may have and see if that solves it. Notifications sometimes appear to steal focus, but it's actually because I've clicked a notification and left the mouse in the notification area. When another notification appears and disappears, the WM will interpret the mouse being exposed to the window behind it as "movement" and change focus to that window.

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

3 participants