|
From: Petr M. <mi...@ph...> - 2014-06-22 22:09:02
|
> Why does the "raise console" function use different code for each > terminal type? The console is the same no matter what terminal is > in use. Am I missing something? > > My current thinking is that the special code to raise the console > should be removed from all terminals. > Instead we could add a routine in mouse.c that responds to the > keystroke after it is passed to the gnuplot core. This would be > shared by all terminals. At the time I've implemented it, I've found it is not possible. The gnuplot executable is a console application, while the graphic window is X11, OS/2 Presentation Manager, Windows etc. application (communicating via different ways) and thus compiled and linked differently. So gnuplot binary is not linked to the respective X11/os2/... libraries needed to call the window manager in order to manipulate another window. --- Petr |