3.2.5.1.1 Handling Drawing and Desktop Mode Changes Order

During client desktop composition initialization, the client receives messages specifying mode changes. The eventType field of the TS_COMPDESK_TOGGLE message specifies the event type. The client behavior is as follows:

  • REDIRMODE_COMPOSITION_ON: The surface manager proxy transitions the DrawingMode to composited. The presentation-layer application transitions the drawing responsibility to the compositor.

  • REDIRMODE_COMPOSITION_OFF: The surface manager proxy transitions the DrawingMode to noncomposited. The presentation-layer application switches the drawing responsibility away from the compositor.

  • REDIRMODE_DWM_DESK_LEAVE: The surface manager proxy transitions the DesktopMode from the compose-desktop to the non-compose desktop. The DrawingMode remains at composited. The presentation-layer application switches the drawing responsibility away from the compositor.

  • REDIRMODE_DWM_DESK_ENTER: The surface manager proxy transitions the DesktopMode from the non-compose–desktop to the compose desktop. The DrawingMode remains at composited. The presentation-layer application switches the drawing responsibility to the compositor.