tiiuae / ghaf

TII SSRC Secure Technologies: Ghaf Framework
https://tiiuae.github.io/ghaf/
Apache License 2.0
35 stars 56 forks source link

waypipe: fix border drawing when compositor has output scaling != 1 #683

Closed Mic92 closed 2 months ago

Mic92 commented 2 months ago

The old version did break if a screen used output scaling (i.e. on 200% scaling on 4k screens) by making the border only a quarter of the needed size. This was fixed by requesting the compositor output scaling.

I found this bug when I tested this patch prior to upstreaming the patch to https://gitlab.freedesktop.org/mstoeckl/waypipe/-/merge_requests/21

I also updated the manpage

Description of changes

Checklist for things done

Testing

Mic92 commented 2 months ago

I just got pinged that the new approach will look differently: https://gitlab.freedesktop.org/mstoeckl/waypipe/-/merge_requests/20 Anyway, until this is implemented this patch will be slightly more correct.