847e9988c8a3 — Chris Cannam 10 years ago
Support the notify window type
2 files changed, 6 insertions(+), 2 deletions(-)

M Client.C
M General.h
M Client.C +4 -0
@@ 1096,6 1096,10 @@ void Client::getClientType()
                 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;

          
M General.h +2 -2
@@ 135,7 135,6 @@ public:
 
 enum ClientType 
 {
-
     /* netwm_winType_normal,
        or no hint and either override-redirect or no transient: */
     NormalClient,

          
@@ 149,7 148,8 @@ enum ClientType
     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);