From d67ee6605a0c53311f1516ac6cc83f4df00a0239 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Sun, 4 Mar 2012 13:40:06 -0800 Subject: [PATCH] NSM: Don't die when user clicks blank area of the session list. --- session-manager/src/session-manager.C | 3 +++ 1 file changed, 3 insertions(+) diff --git a/session-manager/src/session-manager.C b/session-manager/src/session-manager.C index a81eef7..d200e28 100644 --- a/session-manager/src/session-manager.C +++ b/session-manager/src/session-manager.C @@ -358,6 +358,9 @@ public: /* strip out formatting codes */ + if ( !name ) + return; + foreach_daemon ( d ) { osc->send( (*d)->addr, "/nsm/server/open", index( name, ' ' ) + 1 );