screencap.cpp: add some modifies