From 7abea084608e1c180216ea4d2bce702717ec2369 Mon Sep 17 00:00:00 2001 From: Jan Darmochwal Date: Tue, 5 Oct 2010 16:48:21 +0200 Subject: highlight previous session This patch makes vmchooser hightlight the previous session run. Selection of the session is only based on the session name. The topmost session with the same name as the previous session will be highlighted. --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 1fa71be..6766403 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -190,6 +190,7 @@ int main(int argc, char *argv[]) { w.addItems(xsessions, "X Sessions"); w.addItems(vsessions, "Virtual Sessions"); + w.selectPreviousSession(); w.show(); return a.exec(); } -- cgit v1.2.3-55-g7522