mirror of
https://github.com/i3/i3.git
synced 2025-12-01 12:06:20 +00:00
add WINDOW_TYPE_NOTIFICATION to floating list (#6017)
as explained in this discussion: https://github.com/i3/i3/discussions/5966#discussioncomment-8961295
This commit is contained in:
1
release-notes/changes/5-_NET_WM_WINDOW_TYPE_NOTIFICATION
Normal file
1
release-notes/changes/5-_NET_WM_WINDOW_TYPE_NOTIFICATION
Normal file
@ -0,0 +1 @@
|
||||
float notification windows by default
|
||||
@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user