compositor-wayland: use input region instead of opaque region to zxdg_shell_v6::set_w...
authorSergi Granell <xerpi.g.12@gmail.com>
Mon, 25 Sep 2017 09:57:37 +0000 (11:57 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Fri, 13 Oct 2017 10:56:48 +0000 (13:56 +0300)
commitcafc652cf647adce97522478410f89e8c30e854b
treed4440eaf92eb55a0cb36d1688e39a89bedbfd46a
parentbe1090b5234a583ce82edfc3f562066717c41d73
compositor-wayland: use input region instead of opaque region to zxdg_shell_v6::set_window_geometry

The opaque region is a few pixels off due to the rounded corners
of the frame decorations, and, therefore, the input region
matches the window's geometry more closely.

Signed-off-by: Sergi Granell <xerpi.g.12@gmail.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
libweston/compositor-wayland.c