On Wed, Nov 13, 2002 at 07:32:32AM -0500, Dan Espen wrote: > Dominik Vogt <fvwm-workers@fvwm.org> writes: > > On Mon, Nov 11, 2002 at 01:20:19PM -0800, Elliot Sowadsky wrote: > > > 4) "... the icons in to left corner upon Restart is back. Once > > > opened tho, icons obey iconbox upon iconifying." > > > >> > > > > > > Only xview icons and all xview icons have this behavior. > > > It has to be a Restart without arguements. > > > > Sigh! You cut out all the relevant parts from the config. With > > the one you sent, icons are *supposed* to appear in the top left > > corner. > > A few days ago, I tried to duplicate the textedit icon restart > problem. I couldn't get the icon to go to the upper left corner, > but on a restart, fvwm put the textedit icon into the area of the > screen that I use as an iconbox, and then put another icon right > on top of it.
It was a really weird problem. Textedit windows have a leading space in their window name: " Text Editor ..." When you restart fvwm with "Restart", this is saved as "[WM_NAME] Text Editor ..." in the session restart file. When it is read back, the leading space is stripped from the name. Hence, fvwm does not find the window in the restart file, can not read the old icon position and kicks off the normal icon placement code. I fixed the leading space problem, but fvwm still trusts the window title blindly when parsing the session restart file. I guess that can be exploited to cause a lot of funny problems. And a second problem was that when a window provided its own icon window, it was just dumped at 0 0 upon a restart and not moved to the position that was stored in the window structure. > Your recent icon placement patch fixed that. I hope so. Bye Dominik ^_^ ^_^ -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]