3.2.4 Higher-Layer Triggered Events

The Desktop Window Manager triggers switching desktop composition on and off on the server. This has an effect on the high-level Remote Desktop state with regard to desktop composition. The server sends a TS_COMPDESK_TOGGLE packet, as specified in section 2.2.1.1 of [MS-RDPEDC], to instruct the client to stop running in desktop composition mode.

In response to the Desktop Window Manager turning desktop composition off on the server, the server MUST close all connections of this protocol to the client. In response to the Desktop Window Manager turning on desktop composition on the server, the server MUST establish a top-level connection and it MAY establish one or more child connections.