diff options
author | Junicchi <24779257+KebabLord@users.noreply.github.com> | 2024-05-16 10:50:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-16 07:50:06 +0000 |
commit | 1597ec27eef71b60290d31f2321ad90913b85e76 (patch) | |
tree | 6526a7b6ddafc90561c71f71c4ffbd7deaffa8c6 | |
parent | 6094944345cd154f2e391fcd5da29497a3667c6d (diff) | |
download | i3-1597ec27eef71b60290d31f2321ad90913b85e76.tar.gz i3-1597ec27eef71b60290d31f2321ad90913b85e76.zip |
add WINDOW_TYPE_NOTIFICATION to floating list (#6017)
as explained in this discussion:
https://github.com/i3/i3/discussions/5966#discussioncomment-8961295
-rw-r--r-- | release-notes/changes/5-_NET_WM_WINDOW_TYPE_NOTIFICATION | 1 | ||||
-rw-r--r-- | src/manage.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/release-notes/changes/5-_NET_WM_WINDOW_TYPE_NOTIFICATION b/release-notes/changes/5-_NET_WM_WINDOW_TYPE_NOTIFICATION new file mode 100644 index 00000000..8dd68707 --- /dev/null +++ b/release-notes/changes/5-_NET_WM_WINDOW_TYPE_NOTIFICATION @@ -0,0 +1 @@ +float notification windows by default diff --git a/src/manage.c b/src/manage.c index b0684d6b..d36335aa 100644 --- a/src/manage.c +++ b/src/manage.c @@ -466,6 +466,7 @@ void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cooki if (xcb_reply_contains_atom(type_reply, A__NET_WM_WINDOW_TYPE_DIALOG) || xcb_reply_contains_atom(type_reply, A__NET_WM_WINDOW_TYPE_UTILITY) || xcb_reply_contains_atom(type_reply, A__NET_WM_WINDOW_TYPE_TOOLBAR) || + xcb_reply_contains_atom(type_reply, A__NET_WM_WINDOW_TYPE_NOTIFICATION) || xcb_reply_contains_atom(type_reply, A__NET_WM_WINDOW_TYPE_SPLASH) || xcb_reply_contains_atom(state_reply, A__NET_WM_STATE_MODAL) || (cwindow->max_width > 0 && cwindow->max_height > 0 && |