modified the x11 display management