meta-weston-launch: Adapt to Clutter's new evdev open callback
window: Move recalc_type to window-x11.c

It's only used by the X11 codepath.
window: Replace meta_window_type_changed with meta_window_set_type

Which does the equality checking for us.
Revert "hack autogen to allow automake 1.13"

This reverts commit f0c503b5a9700c47d3be4fc36612ea7f333f5512.

01:08 < Jasper> desrt, can you revert that mutter-wayland commit for me?
                My laptop with git on it is out of commission.
weston-launch: Pass the DRM device to Cogl

Open the device from weston-launch, and pass it to Cogl/Clutter.
This is a preliminary cleanup for our login1 integration.
weston-launch: Fix a typo causing mutter-launch to not work
Add a META_MAXIMIZE_BOTH

Which has the value of META_MAXIMIZE_VERTICAL |
META_MAXIMIZE_HORIZONTAL.

This is an obvious code cleanup.
window: Export a bunch of state flags as accessor methods

This is necessary to reimplement window menus in gnome-shell.
wayland-pointer: Drop unused arg from focus grab interface method

https://bugzilla.gnome.org/show_bug.cgi?id=726123
tests: employ wl_test object protocol from Weston

Use Weston's wayland-test.xml specification.
tests: introduce mutter-test plugin

This plugin will create wl_test global in mutter and will provide
basic testing capabilities
test plugin: add wl_test global

Create wl_test global in init function and set up binding
test plugin: add wl_test implementation

Implement requests for wl_test object
test plugin: get pipe from parent

When mutter-wayland is spawned by test, then the test needs wait
until mutter is fully initialized.
In order of achieving that use pipe that is passed from
the test (parent process) to mutter (child process) in environment.

This patch covers mutter side - get socket and notify parent when mutter
is ready.
tests: add code for creating and running tests

use mixture of wayland's test suite and glib (save list of tests in special
section and run them using glib)
There are two types of tests (due to efficency):
TEST(test_name) is usual test that do not need mutter and
MUTTER_TEST(test_name) is test that will be run along with mutter
tests: affect spawning mutter by environment variable

Environment variable MUTTER_TEST_SPAWN_MUTTER will affect spawning
mutter during test in following way:
if it's set to "none" or "0", then mutter won't be spawned at all
if it's set to "once" or "1", then mutter will run only in one instance
for all testcases in test (normally is one mutter instance
spawned for each test case MUTTER_TEST or MUTTER_FAIL_TEST)
tests: add weston tests helper

Add pre-defined functions for tests from weston
tests: make weston-test-helper work with mutter

add xdg_shell and surface handling
weston-test-helpers: change coding style
weston-test-helpers: use glib functions

Replace standard functions with their glib alternatives
(free -> g_free, strcmp ->g_strcmp, xzalloc -> g_new0, ...)