Ubuntu – How to disable the new invisible border feature (ruins Compiz’ Grid plugin)

11.04compizwindow-manager

A new feature was added recently that adds an invisible border around the windows to grab for resizing (although i thought the new resize grip solved any big issues).

This annoys me because it destroys the usefulness of the grid plugin of compiz.. i'm not sure if the border is part of compiz or gnome, but i'd like to know how to disable it.

i couldn't find any options in ccsm or the window settings in gnome.

See the screenshot to see how much waste is caused. These windows should match up instead of having blank space surrounding all of them.

enter image description here

Best Answer

It's part of the theme.

Look into /usr/share/themes/Ambiance/metacity-1/metacity-theme-1.xml and change the padding properties to zero (or remove them), e.g:

<frame_style ...>
    ...
    <padding left="7" right="7" bottom="7"/>
</frame_style>

--- Update ---

There's now also a bug report to follow. The bug has been fixed, if you still see this, I'd report a new bug (unless it's happening with windows that can only be resized in fixed sized steps like gnome-terminal).