[Lazarus] gtk2 liboverlay Ubuntu Unity

Henry Vermaak henry.vermaak at gmail.com
Tue Jun 26 17:25:38 CEST 2012


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




More information about the Lazarus mailing list