@hakan_geijer
is it really all applications? Because maybe it's all QT applications or all GTK applications, and that would narrow it down to a toolkit.
Also: by pup-up you don't mean a notification? I had a problem when a program (e. g. Signal) tried to launch a notification and I didn't have a way to do it, so the app froze. I solved it by installing dunst.