add delay before apply layout to wait xprop