I agree. So I fixed the theme I am using (ClearlooksClassic). The necessary
information to do this is at 
http://developer.gnome.org/doc/tutorials/metacity/metacity-themes.html .

Short description of what I did:

First fix the geometry: Find the element describing the geometry of
maximized windows. In my case it is <frame_geometry
name="normal_maximized" ... >. These elements contain two elements, if
not you need to copy the border element from the parent geometry. Change
the value of the button_border top attribute to 0. Subtract the same
value from the title_border top attribute.

After this step the buttons occupy the top row, but the rendering may be
off.

The drawing needs to be fixed both for the focused and the non focused
state. The drawing instructions are in my case described in <draw_ops
name="bevel_maximized_unfocused"> and <draw_ops name="bevel_maximized">.
Subtract the value from the previous step from any x1 and x2 attributes
present in the operations.

** Attachment added: "The fixed ClearlooksClassic theme."
   
https://bugs.launchpad.net/ubuntu/+source/metacity-themes/+bug/575339/+attachment/1763588/+files/metacity-theme-1.xml

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

Title:
  Close button not in the corner of the screen in most themes

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

Reply via email to