waylandsink: Simplify input region handling
authorRobert Mader <robert.mader@collabora.com>
Mon, 13 Dec 2021 13:31:06 +0000 (14:31 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 13 Jan 2022 19:39:59 +0000 (19:39 +0000)
commitb03c7edfcfba6585d4ef236118ae4f49afb1bedf
tree9b34f24b591816033b8cdd63367da28a47e4e4ea
parent1e2bc681712d62081f49e8e74723a596d1578a34
waylandsink: Simplify input region handling

We only need to unset the input region for the area surface when
we don't have our own toplevel surface. By default, the input region
covers the whole surface, thus no need to change it on resize.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1446>
subprojects/gst-plugins-bad/ext/wayland/wlwindow.c