I added the line:
Code:
Options "Backing Store" "on"
in /etc/X11/xorg.conf, under the section "Screen". Then i logged out and logged in. It seems to be working. Maybe adding the line under section "Display" would also work. Hope this info helps others should they face similar problems.