[comp.windows.x] Toplevel resizing solved.

amoss@SHUM.HUJI.AC.IL (Amos Shapira) (04/07/91)

Hello,

A few days ago I asked how to resize a toplevel widget. The solution is simple:
Just do a XtSetValues() on the height/width resources of the toplevel widget
returned by the XtAppInitialize().

It was pointed out to me by several people that according to the ICCCM
protocol a client is not supposed to resize its toplevel window, they say
that it will create problems with the window manager's title window. I tryed
my solution under TWM and it resized my window without any problems (with a
title window).

Thank you all for your help,

Amos Shapira
amoss@cs.huji.ac.il