Dear Greg,

when I use an Xlib program with NXlib I had the problem, that I could just return to text mode when pressing the ESC key. Selecting X of the window terminated the program but left the screen in SVGA mode and sent the following console output to that so it could not be read.

So I enabled GrClose() in CLDisplay.c of NXlib and now I can return to text mode from an Xlib application.

However, this does not work with FLTK yet. I can return to text mode from an FLTK application by pressing ESC but not when selecting X from the window or pressing a Quit button if the application offers that.

What can I do so XCloseDisplay() in CLDisplay.c works just as well as pressing the ESC key?

I also have a question regarding the mouse driver:

The mou_dos.c driver has these functions:
MOUSEDEVICE mousedev = {
MOU_Open,
MOU_Close,
MOU_GetButtonInfo,
MOU_GetDefaultAccel,
MOU_Read,
MOU_Poll
};

while the mou_x11.c driver has these functions:
MOUSEDEVICE mousedev = {
X11_Open,
X11_Close,
X11_GetButtonInfo,
X11_GetDefaultAccel,
X11_Read,
NULL,
MOUSE_NORMAL /* flags*/
};

Should I replace the "MOU_Poll" with "NULL,MOUSE_NORMAL" or will that make no difference?

Georg

---------------------------------------------------------------------
To unsubscribe, e-mail: nanogui-unsubscr...@linuxhacker.org
For additional commands, e-mail: nanogui-h...@linuxhacker.org

Reply via email to