GNOME Bugzilla – Bug 739161
Fix wayland hidpi regressions
Last modified: 2014-10-27 17:12:30 UTC
This commit is wrong and actually breaks hidpi support.
Created attachment 289307 [details] [review] Revert "wayland-surface: Apply the surface scale only if needed" This commit is wrong, it assumes that the scale only applies to the one set by the client but its not. meta_surface_actor_wayland_scale_texture also handles the output scale. Revert the commit to fix hidpi for wayland clients like weston-terminal. This reverts commit 0364ea91403cfc1c675c2776dda50aff4fb3788b.
Created attachment 289308 [details] [review] meta-wayland-surface: Correcly scale the input region The input region currently only gets scaled by the surface scale while ignoring the output scale, which causes input events to not get delivered correctly for clients on hidpi screens. So take the output scale into account when doing so.
Attachment 289307 [details] pushed as a43ca7b - Revert "wayland-surface: Apply the surface scale only if needed" Attachment 289308 [details] pushed as 718a89e - meta-wayland-surface: Correcly scale the input region Pushed with IRC review.