Difficulty: Very Difficult, would not recommend this cycle
Method:
1) Make the decor plugin an interface plugin (like scale, cube, etc)
2) Make DecorWindow::glDecorate a wrappable function
3) Overload it unity side
4) On UnityWindow::glDecorate, draw the decoration texture using 
GLWindow::glDrawTexture but the "region" should be the size of the scale slot 
instead of the actual window size (this will probably make it draw at full 
size, not sure).
Test: Not sure at this point. This may require a bit of 2D matrix manipulation 
and that will definitely need testing.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1033935

Title:
  Window management - Display full size window decorations on currently
  selected window in spread

To manage notifications about this bug go to:
https://bugs.launchpad.net/ayatana-design/+bug/1033935/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to