This pull-request sets the GL viewport for the window decoration buttons. This is necessary because otherwise the buttons are not drawn correctly when moving the window between outputs with different scale factors.
As an example of this issue see the screen recordings below where the output on the right (visible in the recording) has a scale factor of 1 and the output on the left (not visible in the recording) has a scale factor of 2.
This pull-request sets the GL viewport for the window decoration buttons. This is necessary because otherwise the buttons are not drawn correctly when moving the window between outputs with different scale factors.
As an example of this issue see the screen recordings below where the output on the right (visible in the recording) has a scale factor of 1 and the output on the left (not visible in the recording) has a scale factor of 2.
before.webm
after.webm
Note: I agree to delegate all rights related to this PR to Sony.