Skip to content

screen-cast: Fix window recording on HiDPI

Pascal Nowack requested to merge pnowack/mutter:screen-cast-window-hidpi into master

Using the same scale for the window as the logical monitor only works correctly when having the experimental 'scale-monitor-framebuffer' feature enabled. Without this experimental feature, the stream will contain a black screen, where the actual window only takes a small part of it.

Therefore, use a scale of 1 for the non- experimental case.

Patch is based on commit 3fa6a92c.

Here is a visualization of the problem using a maximized firefox window: Without this MR:
before
With this MR:
after

Edited by Pascal Nowack

Merge request reports

Loading