summaryrefslogtreecommitdiffstats
path: root/client/foreign_menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/foreign_menu.cpp')
-rw-r--r--client/foreign_menu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/foreign_menu.cpp b/client/foreign_menu.cpp
index 988583a0..ebe2d5ce 100644
--- a/client/foreign_menu.cpp
+++ b/client/foreign_menu.cpp
@@ -33,9 +33,9 @@
#define PIPE_NAME "/tmp/SpiceForeignMenu-%lu.uds"
#endif
-ForeignMenu::ForeignMenu(ForeignMenuInterface *handler)
+ForeignMenu::ForeignMenu(ForeignMenuInterface *handler, bool active)
: _handler (handler)
- , _active (false)
+ , _active (active)
, _refs (1)
{
char pipe_name[PIPE_NAME_MAX_LEN];