From 85797e7acf5f4322dc715f71e473f026ebbbc837 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Tue, 19 Apr 2016 17:19:34 +0300 Subject: kmscube: quick hack for fullscreen --- kmscube/cube.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'kmscube/cube.cpp') diff --git a/kmscube/cube.cpp b/kmscube/cube.cpp index 14c340a..eb2f613 100644 --- a/kmscube/cube.cpp +++ b/kmscube/cube.cpp @@ -32,6 +32,7 @@ using namespace std; bool s_verbose; +bool s_fullscreen; int main(int argc, char *argv[]) { @@ -41,6 +42,11 @@ int main(int argc, char *argv[]) { s_verbose = true; }), + Option("f|fullscreen", + [&]() + { + s_fullscreen = true; + }), }; optionset.parse(argc, argv); -- cgit v1.2.3