linux: keep a copy of what the cursor might have occluded