summaryrefslogtreecommitdiff
path: root/testing/slim/session-name.patch
blob: 8211c4f7249331b6c2b2deaf36427868f735d6a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -Naur slim-1.3.2.old/panel.cpp slim-1.3.2.new/panel.cpp
--- slim-1.3.2.old/panel.cpp	2010-10-24 06:01:15.117000019 +0000
+++ slim-1.3.2.new/panel.cpp	2010-10-24 17:26:30.987999967 +0000
@@ -23,7 +23,7 @@
     Root = root;
     cfg = config;
 
-    session = "";
+    session = cfg->nextSession(session);
 
     // Init GC
     XGCValues gcv;
@@ -188,7 +188,7 @@
 }
 
 void Panel::ClearPanel() {
-    session = "";
+    session = cfg->nextSession(session);
     Reset();
     XClearWindow(Dpy, Root);
     XClearWindow(Dpy, Win);