Perhaps the solution is simpler than that. Seems I already solved this in mir_proving_server if you look at how it clips the title string texture: if (text_right > inright) // Title too long for window
We could just do similar vertex and texture coordinate modification on each renderable to keep it inside. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1667690 Title: RenderSurfaces can be rendered outside the extents of their containing window To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1667690/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs