waylandsink : Add new flag to fix bug about flush buffer