← Back to team overview

compiz team mailing list archive

[Bug 876017] Re: Window management - We should be able to close windows in spread mode

 

Difficulty: Medium
Method:
1) Make unity depend on the scale plugin
2) Make unity::UnityWindow inherit from ScaleWindow
3) Make UnityWindow overload scalePaintDecoration
4) Load a small texture asset with an X button (or appropriate equavilent) and paint it at the correct location when appropriate
Test: The main thing for testing here is the code to position the texture in the right place over the window. I believe ScalePaintDecoration gives you a ScaleSlot, which you can use to determine the geometry of the scaled window, from there we just need to test that our code puts the button in the right place for that geometry

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

Title:
  Window management - We should be able to close windows in spread mode

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