Path: utzoo!attcan!uunet!oddjob!ncar!ames!pasteur!postgres!anton From: anton@postgres.uucp (Jeff Anton) Newsgroups: comp.windows.x Subject: X11R2 resize hints Message-ID: <4728@pasteur.Berkeley.EDU> Date: 28 Jul 88 04:27:45 GMT Sender: news@pasteur.Berkeley.EDU Reply-To: anton@postgres.UUCP (Jeff Anton) Distribution: all Organization: Postgres Research Group, UC Berkeley Lines: 22 Given the increasing close date of X11R3 being let out I'm wondering about resize hint changes. Specfically, we have min, max, and increment now; but that's not enough information to have a window manager report window sizes for resize actions for many applications. Right now, maybe this is a widely know bug, xterm will loose its window increment properties if the scroll bar is added. What should happen in this case? I think that an extra hint of min increment needs to be added. So if you had a text window with a vertical scrollbar with a minimum dimension of the text region of 10x6, the hints would be as follows: inc x fontwidth inc y fontheight min x 2 * internalborder + widthscrollbar + 10 * fontwidth min y 2 * internalborder + 6 * fontheight min x inc 10 min y inc 6 With this information, a window manager can report the correct number of text lines durring a resize operation, and applications can put graphic widgets such as scrollbars on windows without causeing problems for the window manager. Or I could be completely mistaken, Jeff Anton