applied XGetWMNormalHints fix