|
From: Ethan M. <merritt@u.washington.edu> - 2003-12-04 19:15:49
|
On Thursday 04 December 2003 10:31, Petr Mikulik wrote: > Solution: new command "raise" (abbreviated "ra"). Enclosed is an > implementation for OS/2 PM and Windows terminals. Your patch calls driver-specific routines directly from the core code in command.c. Doesn't that break all sorts of things? What if your current terminal type is something other than the windows or OS2 terminal?=20 I would think such a command would have to be implemented either as a new driver entry point (term->raise)(win_number), or via a new option to `set term`. =20 > Could somebody contribute X11 code? > Note: proposed is "raise one" command for x11, which would raise just > that one currently "set term"ed window, instead of all windows. Wouldn't it be better to handle this as in Daniel Sebald's recent patch t= o communcate with previously opened X windows? =09set term x11 <win#> raise The command is already accepted by the current syntax and parser. We just need to force an immediate "raise" event if the window already ex= ists. I'll have a look - it sounds easy enough. --=20 Ethan A Merritt merritt@u.washington.edu Biomolecular Structure Center Box 357742 University of Washington, Seattle, WA 98195 |