From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <9front-bounces@9front.inri.net> X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from 9front.inri.net (9front.inri.net [168.235.81.73]) by inbox.vuxu.org (Postfix) with ESMTP id 8836E214B9 for ; Fri, 10 May 2024 16:24:44 +0200 (CEST) Received: from gaff.inri.net ([168.235.71.243]) by 9front; Fri May 10 10:23:37 -0400 2024 Received: from [127.0.0.1] ([168.235.81.125]) by gaff; Fri May 10 10:23:37 -0400 2024 Date: Fri, 10 May 2024 10:23:36 -0400 From: Stanley Lieber To: 9front@9front.org In-Reply-To: <20c6b814-9c4c-469c-86fe-a86022c2f210@posixcafe.org> References: <3d99344f-4075-4fb3-b22d-c91b37f46c3a@posixcafe.org> <0d9b6e2e-54e9-4d9d-8579-c412c5458350@posixcafe.org> <20c6b814-9c4c-469c-86fe-a86022c2f210@posixcafe.org> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: advanced hardware method Subject: Re: [9front] [PATCH] rio: resize border and scrollbar based on font Reply-To: 9front@9front.org Precedence: bulk On May 10, 2024 10:20:19 AM EDT, Jacob Moody wrote: >On 5/10/24 09:16, Stanley Lieber wrote: >> On May 10, 2024 10:10:29 AM EDT, Jacob Moody wr= ote: >>> On 5/10/24 01:20, Kurt H Maier wrote: >>>> On Thu, May 09, 2024 at 07:14:06PM -0500, Jacob Moody wrote: >>>>> >>>>> we do not currently do any sort of scaling in the UI for larger disp= lays=2E >>>>> I think we should be looking at a more general solution to this prob= lem, >>>> >>>> scrollbars and borders should be arguments passed to rio and then >>>> exposed in env or elsewhere >>>> >>>> every other attempt at 'general solutions' to ui scaling have been >>>> miserable goddamn failures and I really really don't want to live >>>> through it again >>>> >>>> khm >>> >>> Alright then where's you're code for a solution here? I don't >>> want arguments to every fucking program for scaling=2E >>> >>> >>=20 >> rio provides the borders, so every program in that rio that uses rio's = borders would inherit the same settings=2E >>=20 >> sl > >There are assumptions about the window size in other places of the code, = that's what I was talking about=2E >Look at /sys/include/draw=2Eh:/BorderWidth/, there is code that currently= relies on it being 4 pixels as a constant=2E > > oh yeah, i know, i've run into this all over the place=2E the ml may be distributing our messages out of order=2E check out my longe= r reply to this thread whenever you get it=2E sl