Saying “dziękuję” as you hand over the money often means “keep the change.”
Common practices reported by travelers; they vary by city and type of establishment.