9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] ports rio tcl/tk menu-window placement errors?
@ 2004-06-18  9:51 Axel Belinfante
  2004-06-18 10:54 ` Axel Belinfante
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Belinfante @ 2004-06-18  9:51 UTC (permalink / raw)
  To: 9fans

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.
Anybody else seeing this or something similar?

Axel.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] ports rio tcl/tk menu-window placement errors?
  2004-06-18  9:51 [9fans] ports rio tcl/tk menu-window placement errors? Axel Belinfante
@ 2004-06-18 10:54 ` Axel Belinfante
  0 siblings, 0 replies; 2+ messages in thread
From: Axel Belinfante @ 2004-06-18 10:54 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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;
 }




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-18 10:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-18  9:51 [9fans] ports rio tcl/tk menu-window placement errors? Axel Belinfante
2004-06-18 10:54 ` Axel Belinfante

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).