Players thump their cue on the floor when the opponent is coming to the table, or at the table. And the referees need to show some more authority on this stuff. You don't see it so much with top players or on TV tables - they know they can't get away with it.