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:
@ -380,7 +380,8 @@ my %window_types = (
|
||||
'menu' => '_NET_WM_WINDOW_TYPE_MENU',
|
||||
'dropdown_menu' => '_NET_WM_WINDOW_TYPE_DROPDOWN_MENU',
|
||||
'popup_menu' => '_NET_WM_WINDOW_TYPE_POPUP_MENU',
|
||||
'tooltip' => '_NET_WM_WINDOW_TYPE_TOOLTIP'
|
||||
'tooltip' => '_NET_WM_WINDOW_TYPE_TOOLTIP',
|
||||
'notification' => '_NET_WM_WINDOW_TYPE_NOTIFICATION'
|
||||
);
|
||||
|
||||
while (my ($window_type, $atom) = each %window_types) {
|
||||
|
@ -54,7 +54,8 @@ my %window_types = (
|
||||
'menu' => '_NET_WM_WINDOW_TYPE_MENU',
|
||||
'dropdown_menu' => '_NET_WM_WINDOW_TYPE_DROPDOWN_MENU',
|
||||
'popup_menu' => '_NET_WM_WINDOW_TYPE_POPUP_MENU',
|
||||
'tooltip' => '_NET_WM_WINDOW_TYPE_TOOLTIP'
|
||||
'tooltip' => '_NET_WM_WINDOW_TYPE_TOOLTIP',
|
||||
'notification' => '_NET_WM_WINDOW_TYPE_NOTIFICATION'
|
||||
);
|
||||
|
||||
while (my ($window_type, $atom) = each %window_types) {
|
||||
|
Reference in New Issue
Block a user