[comp.windows.x] widget size and window managers

kit@ATHENA.MIT.EDU (Chris D. Peterson) (01/12/89)

>  Question: What is the best way to *force* the window managers to
>    take window resize requests using XtConfigureWidget(...)?
>    Why does twm seem *miss*/ignore the configure request in my program
>    sometimes?

There is no way to "force" the window manager to do anything, you can tell
the window manager to ignore your windows with override-redirect but this
will not allow the windows to be moved or iconified (the window manager is
ignoring them).

Once the ICCCM is official the Xt toolkit will do the right thing, and if 
twm does not do the right thing and does not follow ICCCM then it is broken.


Looking at your code I am not sure if that will work, it seems like a truely
obscure way to code that, I would stronly suggest that you leave size and
location parameters up to the user, if you have a set of default ones
that you want to have then use an application defaults file, which allows
you to specify a default set of resource for your applicaion.  The users
personal resources will override these however.

						Chris D. Peterson     
						MIT X Consortium /
						Project Athena 

Net:	kit@athena.mit.edu		
Phone: (617) 253 - 1326			
USMail: MIT - Room E40-321
	77 Massachusetts Ave.		
	Cambridge, MA 02139