From 31777a980e0f4b1b258713158524c0cd9a1dc30f Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 18 Oct 2019 19:33:20 +0200 Subject: Use execv() to start selected session Prevent vmchooser from lingering in the background, like a zombie, haunting you with invisible windows. Also seems to be notably faster when launching the openbox session. --- src/vsession.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/vsession.h') diff --git a/src/vsession.h b/src/vsession.h index 69ecf13..e571805 100644 --- a/src/vsession.h +++ b/src/vsession.h @@ -77,7 +77,9 @@ class VSession : public Session { QString toXml() const; - bool run() const; + bool prepareRun() const; + + void run() const; int type() const; -- cgit v1.2.3-55-g7522