Skip to content

Firefox notifications shown as full tiles #5966

Answered by KebabLord
git1106 asked this question in Q&A
Discussion options

You must be logged in to vote

I guess figured out the problem, apparently in newer releases of firefox, the notifications window type has changed from:
WM_WINDOW_TYPE_DIALOG to WM_WINDOW_TYPE_NOTIFICATION (just like you mentioned in the bugzilla)

i3 Doesn't mark WINDOW_TYPE_NOTIFICATION as floating as seen here:
https://github.com/i3/i3/blob/next/src/manage.c#L466

A quick patch on manage.c like this might fix it:

diff --git a/src/manage.c b/src/manage.c
index b0684d6b..873dc5c3 100644
--- a/src/manage.c
+++ b/src/manage.c
@@ -467,6 +467,7 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki
         xcb_reply_contains_atom(type_reply, A__NET_WM_WINDOW_TYPE_UTILITY) ||
         xcb_reply_…

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
2 replies
@git1106
Comment options

@TyberiusPrime
Comment options

Comment options

You must be logged in to vote
1 reply
@git1106
Comment options

Comment options

You must be logged in to vote
2 replies
@orestisfl
Comment options

@orestisfl
Comment options

Answer selected by orestisfl
Comment options

You must be logged in to vote
1 reply
@git1106
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants