Skip to content

Commit

Permalink
add WINDOW_TYPE_NOTIFICATION to floating list (#6017)
Browse files Browse the repository at this point in the history
as explained in this discussion:
#5966 (comment)
  • Loading branch information
KebabLord committed May 16, 2024
1 parent 6094944 commit 1597ec2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions release-notes/changes/5-_NET_WM_WINDOW_TYPE_NOTIFICATION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
float notification windows by default
1 change: 1 addition & 0 deletions src/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit 1597ec2

Please sign in to comment.