summaryrefslogtreecommitdiffstats
path: root/src/vsession.h
diff options
context:
space:
mode:
authorSimon Rettberg2019-10-18 19:33:20 +0200
committerSimon Rettberg2019-10-18 19:33:20 +0200
commit31777a980e0f4b1b258713158524c0cd9a1dc30f (patch)
tree459c5bff4bcb2ff5c8c4d7b40f47bbcaf5d59f54 /src/vsession.h
parentProperly handle key press events; prevent double-execution (diff)
downloadvmchooser2-31777a980e0f4b1b258713158524c0cd9a1dc30f.tar.gz
vmchooser2-31777a980e0f4b1b258713158524c0cd9a1dc30f.tar.xz
vmchooser2-31777a980e0f4b1b258713158524c0cd9a1dc30f.zip
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.
Diffstat (limited to 'src/vsession.h')
-rw-r--r--src/vsession.h4
1 files changed, 3 insertions, 1 deletions
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;