Index | Thread | Search

From:
Martin Ziemer <horrad@horrad.de>
Subject:
Re: [update patch] xv 5.2.0 -> 6.0.2
To:
Stuart Henderson <stu@spacehopper.org>
Cc:
ports@openbsd.org
Date:
Fri, 23 May 2025 08:24:13 +0200

Download raw body.

Thread
Am Thu, May 22, 2025 at 04:16:38PM +0100 schrieb Stuart Henderson:
> On 2025/05/22 12:56, Martin Ziemer wrote:
> > This patch updates xv from 5.2.0 to 6.0.2.
> > 
> > Tested on amd64.
> You're missing a WANTLIB regen, it now picks up Xrandr.
> 
> I wrote a similar diff back in December but for me I get an absolutely
> huge 'xv controls' window, taking up more than quarter of my 1920x1200
> monitor (about the same size as a 110x42 terminal) so I didn't commit
> it.
I just checked it on two systems: One has the smaller and one the
bigger window.

Digging in the code I found new versions of xv set a scaling factor
based on the DPI. (Bigger windows if DPI is higher than 144)

Tested on a Full HD Display (the one with bigger window):
xdpyinfo | grep resolution
  resolution:    158x158 dots per inch

If I start xv with the Parameter +hidpi, the window has the normal
size again.