Commit 440ed594 authored by Michel Dänzer's avatar Michel Dänzer

present/wnmd: Translate update region to screen space

The region as passed in is in the source pixmap's coordinate space, so
intersecting it with the clipList (which is in screen space) resulted in
disappointment.

Fixes Firefox popups such as the hamburger menu when using the EGL
backend.

v2:
* Drop vblank->x/y_off from RegionTranslate call, since they're always
  0 here (present_wnmd_check_flip rejects flips for x/y_off != 0).
Reported-by: Robert Mader's avatarRobert Mader <robert.mader@posteo.de>
Tested-by: Robert Mader's avatarRobert Mader <robert.mader@posteo.de>
Reviewed-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
Tested-by: Joakim Tjernlund <joakim.tjernlund@infinera.com> # v1
(cherry picked from commit 466b8b43)
parent 54f9af1c
Pipeline #236978 passed with stages
in 5 minutes and 11 seconds