mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-01 22:03:09 +00:00
hw/xwin: Remove no-longer needed tricks used to prevent the clipboard client from being killed
Remove no-longer needed tricks used to hide the clipboard client from XDM to prevent it from being killed - Delete XQuery wrapper used to hide clipboard client - Delete XDMCP mode heuristic which waits until some magic number of connections have been established before starting the clipboard We still need the EstablishConnection wrapper to ensure that the clipboard client isn't the first client (causing a server restart if it disconnects) Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
parent
c1bf3baa44
commit
47c7b6d3e6
2 changed files with 3 additions and 125 deletions
|
|
@ -112,12 +112,6 @@ InitInput (int argc, char *argv[])
|
|||
winProcEstablishConnectionOrig = InitialVector[2];
|
||||
InitialVector[2] = winProcEstablishConnection;
|
||||
}
|
||||
if (g_fXdmcpEnabled
|
||||
&& ProcVector[X_QueryTree] != winProcQueryTree)
|
||||
{
|
||||
winProcQueryTreeOrig = ProcVector[X_QueryTree];
|
||||
ProcVector[X_QueryTree] = winProcQueryTree;
|
||||
}
|
||||
#endif
|
||||
|
||||
g_pwinPointer = AddInputDevice (serverClient, winMouseProc, TRUE);
|
||||
|
|
|
|||
Loading…
Reference in a new issue