- Timestamp:
- Jun 22, 2023 10:55:10 AM (18 months ago)
- Location:
- trunk/src/VBox/Additions/x11/VBoxClient
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/Makefile.kmk
r99689 r100246 72 72 main.cpp \ 73 73 logging.cpp 74 75 ifdef VBOX_WITH_WAYLAND_ADDITIONS 76 VBoxClient_DEFS += VBOX_WITH_WAYLAND_ADDITIONS 77 VBoxClient_SOURCES += \ 78 wayland-helper-dcp.cpp \ 79 wayland-helper-gtk.cpp \ 80 wayland.cpp 81 endif 82 74 83 VBoxClient_SOURCES += $(VBOX_GH_SOURCES) 75 84 -
trunk/src/VBox/Additions/x11/VBoxClient/VBoxClient.h
r99689 r100246 133 133 extern VBCLSERVICE g_SvcHostVersion; 134 134 extern VBCLSERVICE g_SvcSeamless; 135 # ifdef VBOX_WITH_WAYLAND_ADDITIONS 136 extern VBCLSERVICE g_SvcWayland; 137 # endif 135 138 136 139 extern unsigned g_cVerbosity; -
trunk/src/VBox/Additions/x11/VBoxClient/main.cpp
r100063 r100246 66 66 #define VBOXCLIENT_OPT_SESSION_DETECT VBOXCLIENT_OPT_SERVICES + 7 67 67 #define VBOXCLIENT_OPT_SESSION_TYPE VBOXCLIENT_OPT_SERVICES + 8 68 #define VBOXCLIENT_OPT_WAYLAND VBOXCLIENT_OPT_SERVICES + 9 68 69 69 70 … … 330 331 RTPrintf(" --session-detect detects and prints the current session type\n" 331 332 " (exit code 0 if detection succeeded)\n"); 333 #ifdef VBOX_WITH_WAYLAND_ADDITIONS 334 RTPrintf(" --wayland starts the shared clipboard and drag-and-drop services for Wayland\n"); 335 #endif 332 336 RTPrintf(" -f, --foreground run in the foreground (no daemonizing)\n"); 333 337 RTPrintf(" -d, --nodaemon continues running as a system service\n"); … … 538 542 #endif 539 543 { "--session-detect", VBOXCLIENT_OPT_SESSION_DETECT, RTGETOPT_REQ_NOTHING }, 540 { "--session-type", VBOXCLIENT_OPT_SESSION_TYPE, RTGETOPT_REQ_STRING } 544 { "--session-type", VBOXCLIENT_OPT_SESSION_TYPE, RTGETOPT_REQ_STRING }, 545 #ifdef VBOX_WITH_WAYLAND_ADDITIONS 546 { "--wayland", VBOXCLIENT_OPT_WAYLAND, RTGETOPT_REQ_NOTHING } 547 #endif 541 548 }; 542 549 … … 705 712 break; 706 713 } 714 #ifdef VBOX_WITH_WAYLAND_ADDITIONS 715 case VBOXCLIENT_OPT_WAYLAND: 716 { 717 if (g_Service.pDesc) 718 return vbclSyntaxOnlyOneService(); 719 g_Service.pDesc = &g_SvcWayland; 720 break; 721 } 722 #endif 707 723 708 724 case VINF_GETOPT_NOT_OPTION:
Note:
See TracChangeset
for help on using the changeset viewer.