From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200406181054.i5IAsdK02502@zamenhof.cs.utwente.nl> To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] ports rio tcl/tk menu-window placement errors? In-reply-to: Your message of "Fri, 18 Jun 2004 11:51:56 +0200." <200406180951.i5I9pue01332@zamenhof.cs.utwente.nl> References: <200406180951.i5I9pue01332@zamenhof.cs.utwente.nl> From: Axel Belinfante Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 18 Jun 2004 12:54:39 +0200 Topicbox-Message-UUID: a5eb7dd4-eacd-11e9-9e20-41e7f4b1d025 I wrote: > Now that I have the latest port running, > I noticed that for some tcl/tk applications > the menus that normally appear under the menu button > now appear more to the left and the top. Moving or resizing the window cures it. > Anybody else seeing this or something similar? Of course it could be interference with some things I changed. Anyway, I noticed that the following change cured it. Could be that the same (similar?) change applied elsewhere would be a better fix - I did not investigate. Index: manage.c =================================================================== RCS file: /cvs/plan9/src/cmd/rio/manage.c,v retrieving revision 1.10 diff -r1.10 manage.c * I can't find a way to have them notice during initdraw, so * I solve the problem this way instead. -rsc */ - if(c->is9term) + // if(c->is9term) sendconfig(c); return 1; }