Changeset 100286 in vbox for trunk/src/VBox/Additions/x11/VBoxClient
- Timestamp:
- Jun 26, 2023 7:51:54 AM (21 months ago)
- svn:sync-xref-src-repo-rev:
- 158001
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/clipboard-x11.cpp
r100285 r100286 348 348 LogFlowFuncEnter(); 349 349 350 int rc = ShClEventSourceCreate(&g_Ctx.EventSrc, 0 /* uID */); 351 AssertRCReturn(rc, rc); 352 350 353 SHCLCALLBACKS Callbacks; 351 354 RT_ZERO(Callbacks); … … 353 356 Callbacks.pfnOnRequestDataFromSource = vbclX11OnRequestDataFromSourceCallback; 354 357 355 intrc = ShClX11Init(&g_Ctx.X11, &Callbacks, &g_Ctx, false /* fHeadless */);358 rc = ShClX11Init(&g_Ctx.X11, &Callbacks, &g_Ctx, false /* fHeadless */); 356 359 if (RT_SUCCESS(rc)) 357 360 { … … 386 389 int VBClX11ClipboardDestroy(void) 387 390 { 388 /* Nothing to do here currently. */ 389 return VINF_SUCCESS; 391 return ShClEventSourceDestroy(&g_Ctx.EventSrc); 390 392 } 391 393
Note:
See TracChangeset
for help on using the changeset viewer.