Cleaned and fix apply.

Apply still needs to support props (when used)

Read new state has some problems:
- detect special case where X uses randr 1.1
- notification granularity
- better handling of xcb buffer problem (in main/select loop) :
  reactivate_flag ?