pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/35309: TME sun3 emulator, running without a window manager, overwrites tmesh prompt



>Number:         35309
>Category:       pkg
>Synopsis:       TME sun3 emulator, running without a window manager, 
>overwrites tmesh prompt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 21 18:20:02 +0000 2006
>Originator:     Arthur Townsend
>Release:        3.1
>Organization:
>Environment:
3.1 for i386
>Description:
When TME starts, it requires mouse-input to open the two GTK console X windows. 
 If desired, TME can be started automatically without operator mouse input by 
running TME without a window manager (remove twm from the .xinitrc file).  But 
in this scenario the TME console windows overwrite the original terminal window 
with the tmesh> prompt.  The following patch is merely a nice-to-have that, in 
the case of running without a window manager, TME creates the GTK console 
windows in the middle of the screen, thereby allowing the tmesh> prompt to be 
seen.  When run with a window manager, there is no change in functionality, as 
the mouse position decides the original GTK console window position.
>How-To-Repeat:

>Fix:
--- gtk-screen.c.orig   2006-12-18 09:35:14.000000000 -0500
+++ gtk-screen.c        2006-12-18 09:36:18.000000000 -0500
@@ -537,6 +537,8 @@
      and auto-shrink: */
   screen->tme_gtk_screen_window
     = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+  gtk_window_set_position(GTK_WINDOW(screen->tme_gtk_screen_window),
+                          GTK_WIN_POS_CENTER);
   gtk_window_set_policy(GTK_WINDOW(screen->tme_gtk_screen_window),
                        TRUE, TRUE, TRUE);




Home | Main Index | Thread Index | Old Index