From: Sean D'E. <se...@de...> - 2006-08-01 09:57:23
|
I have implemented vt switching in my program, I can set up the program to recieve signals if the vt it is attached to is aquired or released using linux-kbd ioctls. This would be enough if I did not have two monitors and two framebuffer devices! I want my program to be able to update if it is still the most recently active vt on it's fbdev. Right now I continuously poll ioctl on CON2FB while I do not have the active vt, and supply the active vt number which I get from another ioctl. If the resulting framebuffer matches mine, I know I need to stop drawing. This is not a good solution, sometimes I need to refresh the display when switching because of this. Would anything need to be implemented in kernel space to allow for this? Thanks |