diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-04-19 17:19:34 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-04-19 17:19:34 +0300 |
commit | 85797e7acf5f4322dc715f71e473f026ebbbc837 (patch) | |
tree | 5c39f3b4e2fdd8cb1f8460e40e1f5f67387f3202 /kmscube/cube.cpp | |
parent | d1baa97be5b86d5f7ec45b2aa17ff2254eb6ade1 (diff) |
kmscube: quick hack for fullscreen
Diffstat (limited to 'kmscube/cube.cpp')
-rw-r--r-- | kmscube/cube.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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); |