Previous image display in Xserver while launching the application
I have made one application using Xlib and loading a jpeg stream video in the x_window.
The application is working fine but I am seeing one issue that whenever i restart the application, it firstly shows the old image where I have stopped the application and then only it moves and start the main application.
I am not seeing anywhere how it is storing that image. Ever Xsetroot is not helping.
The other strange thing is that even after reboot the same thing is there so it means either Xserver is saving that info somewhere or something else is happening.
If i start the application manually like
startx ./myapp the old image comes for a sec and then the normal app starts working
if i launch it automatically by putting it in rc.local,
the old image continues to display at 6-7 secs and then the normal app starts.
Also, it is happneing when i normally starts the startx without my app then also whateve the last image was, it vl display firstly and then only the KDE desktop will come.
Anyone has seen this issue before?
BTW i am using Slackware 12.0 and the Xserver bundled within this distro.
Last edited by nitin_kumgoyal; 11-26-2013 at 11:37 PM.
Reason: Forgot to add OS details
|