# HG changeset patch # User Chris Cannam # Date 1401796879 -3600 # Tue Jun 03 13:01:19 2014 +0100 # Branch wmx # Node ID 847e9988c8a375ac9d776c024c00423bd95ca9f2 # Parent 1daa55d2fd2da212e6dc79b763649767e8810f79 Support the notify window type diff --git a/Client.C b/Client.C --- a/Client.C +++ b/Client.C @@ -1096,6 +1096,10 @@ m_type = DialogClient; m_layer = DIALOG_LAYER; break; + } else if (typeAtom == Atoms::netwm_winType_notify) { + m_type = NotifyClient; + m_layer = DOCK_LAYER; + break; } else if (typeAtom == Atoms::netwm_winType_normal) { m_type = NormalClient; break; diff --git a/General.h b/General.h --- a/General.h +++ b/General.h @@ -135,7 +135,6 @@ enum ClientType { - /* netwm_winType_normal, or no hint and either override-redirect or no transient: */ NormalClient, @@ -149,7 +148,8 @@ ToolbarClient, // netwm_winType_toolbar MenuClient, // netwm_winType_menu UtilityClient, // netwm_winType_utility - SplashClient // netwm_winType_splash + SplashClient, // netwm_winType_splash + NotifyClient // netwm_winType_notify }; declareList(AtomList, Atom);