On Wed, Oct 01, 2014 at 12:15:34PM +0100, Zum Testen wrote:
> I have a problem with all gnome-applications (e.g. gnome-terminal, 
> networkmanager, gnome-calculator...) in floating mode: There is a big gap 
> between the application window and the borders (for highlighting the focused 
> window, defined in theme.lua). I made a screenshot of a focused 
> gnome-calculator window with white borders and title bars enabled (title bars 
> doesn't matter): http://i.snag.gy/ZqHoF.jpg
> The problem only concerns gnome-apps: If I use xfce-terminal instead of 
> gnome-terminal, there is no gap between the window and the highlighting 
> borders in floating mode.
> I googled but couldn't find anything about this problem.
> 
> P.S. archlinux 64, awesome 3.5.5-1

This is a new feature of GTK 3; it's called client-side decoration or
so. This effect is from the gnome-themes-standard 3.12.0+, file
gtk-widgets.css. It happens not only in floating mode; it happens unless
the window is maximized, as I find it.

You can override this style in your custom css file, i.e.
~/.config/gtk-3.0/gtk.css. Try to add the following and restart the
application:

.window-frame {
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}
.titlebar {
  border-radius: 0;
}

PS: if you google in Chinese you might find this post:
https://bbs.archlinuxcn.org/viewtopic.php?id=2594

-- 
Best regards,
lilydjwg

-- 
To unsubscribe, send mail to [email protected].

Reply via email to