blob: 40df04517d44da5ee739b2007a7413ad727744e2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--- remoting/host/me2me_desktop_environment.cc.orig 2021-07-19 18:45:20 UTC
+++ remoting/host/me2me_desktop_environment.cc
@@ -86,10 +86,10 @@ std::string Me2MeDesktopEnvironment::GetCapabilities()
}
#endif // defined(OS_WIN)
-#if !defined(NDEBUG) && defined(OS_LINUX)
+#if !defined(NDEBUG) && (defined(OS_LINUX) || defined(OS_BSD))
capabilities += " ";
capabilities += protocol::kRemoteOpenUrlCapability;
-#endif // !defined(NDEBUG) && defined(OS_LINUX)
+#endif // !defined(NDEBUG) && (defined(OS_LINUX) || defined(OS_BSD))
return capabilities;
}
@@ -136,7 +136,7 @@ bool Me2MeDesktopEnvironment::InitializeSecurity(
// Otherwise, if the session is shared with the local user start monitoring
// the local input and create the in-session UI.
-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
bool want_user_interface = false;
#elif defined(OS_APPLE)
// Don't try to display any UI on top of the system's login screen as this
|