Fixing toFront() for alwaysOnTop windows


Hi Jules,

Adding this code in LinuxPeerComponent::toFront

[code]XWindowAttributes attr;
XGetWindowAttributes(display, windowH, &attr);

if (attr.override_redirect) {
XRaiseWindow(display, windowH);

fixes that function for windows which have the override_redirect flag.

(maybe a better fix would be to set a _NET_WM_WINDOW_TYPE_DOCK property or something similar on alwayOnTop windows, but I did not check, it could also break some other juce stuff…)


ah, right, thanks!