Support matching _NET_WM_WINDOW_TYPE_NOTIFICATION
This commit fixes #1969 by adding support for matching a window's type against _NET_WM_WINDOW_TYPE_NOTIFICATION. The userguide and tests were updated to reflect this change.
This commit is contained in:
@ -175,7 +175,8 @@ xcb_atom_t xcb_get_preferred_window_type(xcb_get_property_reply_t *reply) {
|
||||
atoms[i] == A__NET_WM_WINDOW_TYPE_MENU ||
|
||||
atoms[i] == A__NET_WM_WINDOW_TYPE_DROPDOWN_MENU ||
|
||||
atoms[i] == A__NET_WM_WINDOW_TYPE_POPUP_MENU ||
|
||||
atoms[i] == A__NET_WM_WINDOW_TYPE_TOOLTIP) {
|
||||
atoms[i] == A__NET_WM_WINDOW_TYPE_TOOLTIP ||
|
||||
atoms[i] == A__NET_WM_WINDOW_TYPE_NOTIFICATION) {
|
||||
return atoms[i];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user