This is my code:
Code:
void FBReader::refreshWindow() {
ZLApplication::refreshWindow();
((RecentBooksPopupData&)*myRecentBooksPopupData).updateId();
//added for iLiad
if(einkUpdate){
XSync(display, 1);
sleep(0);
dmDisplay(dmCmdPriorNormal, dmQFull);
}
}