On 26/06/12 13:00, Mattias Gaertner wrote: > To disable liboverlay for a single application set the environment > variable LIBOVERLAY_SCROLLBAR to '0' *before* starting the application. > There is no way to disable liboverlay when the application is already > running. For example: > > LIBOVERLAY_SCROLLBAR=0 ./lazarus
Why not patch liboverlay similar to how it is done for qt? http://bazaar.launchpad.net/~ayatana-scrollbar-team/ayatana-scrollbar/trunk/view/head:/os/os-scrollbar.c#L3974 Just export a function from lcl and catch that - like catching 'qt_startup_hook' in the above code. Henry -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
