This causes proper notifications to be discarded at least in case of blueman. (cherry picked from commit 117669c7)