Hello, to be honest, I'm not sure where to ask this, here or KDE, but here's what's happening, when I run an allegro5 powered application the KDE Panel messes up, until I turn that app off. The task manager goes crazy, opened apps change, it's like they get rewinded, like, chrome went back to when there was an empty tab and Amarok reappeared even though it was closed (in background), terminal went back to when I was compiling the game and our allegro game hides behind one of the apps and the clock freezes, maybe more that I did not notice. But it is only visual, in reality everything is fine, like if I hover it's the right apps in right place, even though visually everything is wrong. It happens every time I run my project and I got same results with Factorio, while other games do not do that, like SDL2 powered FTL or Java Project Zomboid.
I use Fedora 26 KDE Spin, X Server, more can be seen in the screenshot. Allegro library I use is Allegro 5.2.0, compiled from source in monolith mode.
I cannot tell if I'm the only one with this issue or it happens for every KDE user, because it's the only computer I have with KDE on it, rest are GNOMEs where this does not happen (Dash2Dock, Dash2Panel).
I attached screenshots of problem before and after and system information.
Thank you in advance.