screen-cast: Fix monitor recording on HiDPI
authorJonas Ådahl <jadahl@gmail.com>
Fri, 25 Jan 2019 21:06:39 +0000 (21:06 +0000)
committerSimon McVittie <smcv@debian.org>
Sat, 27 Apr 2019 23:13:35 +0000 (00:13 +0100)
commit94fc56ea5bee599a9fbe899540e711cd748d9f53
treefac3e68b333272eb64a8e27035d2e3829199a6d7
parentdbd815de25a7cb9c94ac1914f5015d247534fb5c
screen-cast: Fix monitor recording on HiDPI

It scaled the logical monitor rect with scale to get the stream
dimensions, but that is only valid when having
'scale-monitor-framebuffers' enabled. Even when it was, it didn't work
properly, as clutter_stage_capture_into() doesn't work properly with
scaled monitor framebuffers yet.

(cherry picked from commit 3fa6a92cc5dda6ab3939c3e982185f6caf453360)

Bug: https://gitlab.gnome.org/GNOME/mutter/merge_requests/415
Applied-upstream: 3.30.3, commit:1c57a5842069735b7bb80846130bf61d0e0a0880

Gbp-Pq: Name screen-cast-Fix-monitor-recording-on-HiDPI.patch
src/backends/meta-screen-cast-monitor-stream-src.c