fix for issue #133

- _NET_WM_STATE_HIDDEN was not being written when a window
  is minimized.