xbmc/xbmc — pull request #5310 by FernetMenta (2014-09-01 18:16:44+00:00)
Title: X11: fixes

1) revert 5814e7f which I did on advice of Intel developer Chris Wilson. Looks like the state is not updated as expected. @sraue reported missing modes on system startup.

2) fix wake-up from dpms. With recent Intel drivers the system cursor was visible after wake-up. seems like the state got lost somehow in the driver. the sledge hammer method of recreating the window cures it all.