mutter/src
Simon McVittie c2a9ccb7e2 Let the UI layer (via the core) construct the frame mask
This essentially just moves install_corners() from the compositor, through
the core, into the UI layer where it arguably should have been anyway,
leaving behind stub functions which call through the various layers. This
removes the compositor's special knowledge of how rounded corners work,
replacing it with "ask the UI for an alpha mask".

The computation of border widths and heights changes a bit, because the
width and height used in install_corners() are the
meta_window_get_outer_rect() (which includes the visible borders but not
the invisible ones), whereas the more readily-available rectangle is the
MetaFrame.rect (which includes both). Computing the same width and height
as meta_window_get_outer_rect() involves compensating for the invisible
borders, but the UI layer is the authority on those anyway, so it seems
clearer to have it do the calculations from scratch.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=697758
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
2013-04-17 13:35:06 +01:00
..
compositor Let the UI layer (via the core) construct the frame mask 2013-04-17 13:35:06 +01:00
core Let the UI layer (via the core) construct the frame mask 2013-04-17 13:35:06 +01:00
meta background: drop saturation and blur effects 2013-03-26 16:58:22 -04:00
tools Remove another call to g_type_init() 2012-11-19 21:03:14 +01:00
ui Let the UI layer (via the core) construct the frame mask 2013-04-17 13:35:06 +01:00
wm-tester test-attached: new program for testing attached dialogs 2011-08-27 13:12:25 -04:00
.cvsignore Install desktop files in both .../share/applications and 2008-09-12 04:05:17 +00:00
50-mutter-navigation.xml.in Add 'switch-applications' keybinding 2012-12-05 18:45:22 +01:00
50-mutter-system.xml.in keybindings: Import keybinding files from Metacity 2012-11-12 19:27:35 +01:00
50-mutter-windows.xml.in keybindings: Rebrand "minimize" as "hide" 2013-01-11 16:22:29 +01:00
default_icon.png
libmutter.pc.in Port preferences to GSettings 2011-11-11 20:26:38 +01:00
Makefile.am core: Remove the eventqueue 2013-03-06 09:17:12 +01:00
mutter-enum-types.c.in Add bits missing from last commit 2009-07-04 17:14:48 +01:00
mutter-enum-types.h.in Use a META_ prefix for enum types, not MUTTER_ 2012-02-23 16:39:28 -05:00
mutter-plugins.pc.in Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
mutter-schemas.convert Remove live-hidden-windows from mutter-schemas.convert 2012-04-26 02:37:34 -04:00
mutter-wm.desktop.in Remove deprecated Encoding key from desktop files 2009-08-22 14:24:22 +02:00
mutter.desktop.in Remove deprecated Encoding key from desktop files 2009-08-22 14:24:22 +02:00
org.gnome.mutter.gschema.xml.in settings: Clarifiy auto_maximize language 2013-02-14 20:04:08 +01:00
run-mutter.sh Comprehensively rename to Mutter 2009-06-16 14:17:10 -04:00
stock_delete.png
stock_maximize.png
stock_minimize.png