VirtualBox

Changeset 101880 in vbox for trunk/src


Ignore:
Timestamp:
Nov 6, 2023 3:49:29 PM (16 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
159976
Message:

Additions: X11/Wayland: scm fix, bugref:10194.

Location:
trunk/src/VBox/Additions/x11/VBoxClient
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/vboxwl.cpp

    r101878 r101880  
    3030
    3131#include <iprt/initterm.h>
    32 #include <iprt/err.h>
     32#include <iprt/errcore.h>
    3333#include <iprt/message.h>
    3434#include <iprt/getopt.h>
  • trunk/src/VBox/Additions/x11/VBoxClient/wayland-helper-ipc.h

    r101878 r101880  
    422422RTDECL(int) vbcl_wayland_hlp_gtk_ipc_srv_name(char *szBuf, size_t cbBuf);
    423423
    424 #endif /* GA_INCLUDED_SRC_x11_VBoxClient_wayland_helper_ipc_h */
    425 
     424#endif /* !GA_INCLUDED_SRC_x11_VBoxClient_wayland_helper_ipc_h */
     425
  • trunk/src/VBox/Additions/x11/VBoxClient/wayland-helper.cpp

    r101878 r101880  
    4949 * Each time when either host (via VBoxClient) or Wayland client
    5050 * initiates a new data transfer (such as clipboard sharing or drag-n-drop
    51  * operation) a new session should be started. Due to current
    52  * implementation,
     51 * operation) a new session should be started. Due to current implementation,
    5352 * no more than one session can run in the same time. Therefore, before
    5453 * starting new session, previous one needs to be ended.
    5554
    5655 * When either VBoxClient or Wayland thread needs to access session data,
    57  * it need to join session at first. Multiple threads can join the same 
     56 * it need to join session at first. Multiple threads can join the same
    5857 * session in parallel.
    5958
    60  * When sequence of operations which were required to transfer data to 
     59 * When sequence of operations which were required to transfer data to
    6160 * either side is complete, session should be ended.
    6261 *
     
    10099/**
    101100 * Try atomically enter session state within time interval.
    102  *
    103  *
    104101 *
    105102 * @returns IPRT status code.
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette