Hello,guys,
I’d like to add to a native Linux window (for example, Firefox) the JUCE titlebar and borders instead of native for KDE, OpenBox etc.
Is it possible?
Maybe, do this way:
- Obtain an active window using
void* w = getPeer()->getNativeHandle();
-
Attach this window to a TopLevelWindow object with
addToDesktop(ComponentPeer::windowIsResizable | ComponentPeer::windowHasMinimiseButton |
ComponentPeer::windowHasMaximiseButton | ComponentPeer::windowHasCloseButton,
w);
Any advice?