|
From: Petr M. <mi...@ph...> - 2006-04-27 16:39:15
|
> machine and uses a different server path. Since the konsole window and > the plot window use different server paths, the "raise by window_id" > cannot work. Yes, they run in windows launched from two different machines, in my simple explanation (1st time I see "different server paths"). >> This would need the new API for interactive terminals. > > I disagree. The "close existing window" function is already > present in the current terminal interface (see x11), and the > raise_console function is not a terminal interface issue at all. > So raise_console() would have to be a core routine. Does it work for the other interactive terminals as well? I thought your wish for the API was that gnuplot is not linked against Xlib. > At first I was confused, and thought that the core code should call > such a term->raise_console() routine. But this doesn't work for all > the reasons we went through earlier in this thread. This could be for supporting "bind" commands to " " and "q": term->interactive(TERM_INTERACTIVE_BIND_HOTKEY, " ", ..._RAISE_CONSOLE, 0) term->interactive(TERM_INTERACTIVE_BIND_HOTKEY, " ", ..._RAISE_CONSOLE, 1) term->interactive(TERM_INTERACTIVE_BIND_HOTKEY, "q", ..._CLOSE_WINDOW, 0) term->interactive(TERM_INTERACTIVE_BIND_HOTKEY, "q", ..._CLOSE_WINDOW, 1) >> If somebody wants to improve windows changes in some X11 combinations (as I >> did for KDE, for example), he can contribute it to the appropriate place of >> code, independently of the above ways. > > The "appropriate place" is exactly what we are struggling to find. You have shown that on X11 it does not work when running gnuplot and its plot in windows belonging to different computers. > It is not obvious where that place is. BTW, I asked several times how to do the same Konsole "sheet flipping" for the gnome-terminal, but no one answered. So gnome-native users cannot enjoy the full functionality (but it works with a single gnome-terminal sheet/card). --- PM |