Comment 1 for bug 1033936

Revision history for this message
Sam Spilsbury (smspillaz) wrote :

Difficulty: Medium/Hard/Unsure
Method:
1) Load a texture containing the "ghost window" asset
2) Create a new window of the ghost window size
3) In unity::UnityWindow::glPaint pass PAINT_WINDOW_NO_CORE_INSTANCE_MASK to the gWindow->glPaint call within the function
4) Make unity::UnityScreen inherit ScaleScreenInterface
5) Overload ScaleScreenInterface::layoutThumbs and add a new slot containing the new window when we know scale mode was triggered for this application group
 6) Overload ScaleWindowInterface::scalePaintDecoration and paint the ghost window texture instead of the window
7) Overload ScaleScreenInterface::scaleSelectWindowAt and if the "fake" window is selected then open the new application
 8) Ensure the fake window is mapped / unmapped when scale begins and ends.