Rename wintype "notify" to "notification"
"notify" is the only wintype that has a name inconsistent with its Xorg name. So fix that. Compatibility code is added as well, so the old "notify" wintype name still works. Fixes #323 Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
@ -76,9 +76,9 @@ static void unredirect(session_t *ps);
|
||||
|
||||
/// Name strings for window types.
|
||||
const char *const WINTYPES[NUM_WINTYPES] = {
|
||||
"unknown", "desktop", "dock", "toolbar", "menu",
|
||||
"utility", "splash", "dialog", "normal", "dropdown_menu",
|
||||
"popup_menu", "tooltip", "notify", "combo", "dnd",
|
||||
"unknown", "desktop", "dock", "toolbar", "menu",
|
||||
"utility", "splash", "dialog", "normal", "dropdown_menu",
|
||||
"popup_menu", "tooltip", "notification", "combo", "dnd",
|
||||
};
|
||||
|
||||
// clang-format off
|
||||
|
Reference in New Issue
Block a user