pixman-renderer: copy_to_hw_buffer: don't leak output_region

This was reported by Valgrind.

Signed-off-by: Ryo Munakata <ryomnktml@gmail.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
desktop-shell: implement touch popup grabs

Acked-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
xwm: Do not activate override redirect windows

We shouldn't do WM-y things on an O-R window, including setting input
focus to it.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=81273
Signed-off-by: Boyan Ding <stu_dby@126.com>
Tested-by: Ryo Munakata <ryomnktml@gmail.com>
Acked-by: Christopher Michael <cp.michael@samsung.com>
clients: Maximize window when double click on title bar

Signed-off-by: Xiong Zhang <panda0626@gmail.com>
Tested-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Add font entry to shell section for title fonts

cairo-util has used sans font family for title fonts so far.
But sans doesn't support glyphs of non-ascii characters.
So now let users choose a font family for titles.

To show texts correctly now using pangocairo for redering fonts.
If any single fonts in 'fonts' entry don't have appropriate glyphs,
we use the fallback mode of pango.

This pangocairo support is enabled if configure finds pangocairo
on the build environment.
Otherwise fall back to plain cairo rendering.

The entry name is generic, 'fonts' so that other places
where draw texts can use this entry too.

Signed-off-by: Ryo Munakata <ryomnktml at gmail.com>